Method Ast_Stats(object?, object?, IExchange)

Assembly: redb.Route.dll

Evaluates stats(target, metric) — endpoint statistics as a value in the expression
language, so a route can branch on its own measurements:
Filter("stats('direct:target', 'health') != 'Critical'").

public static object? Ast_Stats(object? target, object? metric, IExchange exchange)

Remarks

target is an endpoint URI or 'current' (the route processing the exchange);
metric names an reading,
case-insensitive. Unlike a missing data source in xpath(), every failure here is an
authoring error — a route that asks for measurements it cannot get should say so loudly,
not route messages on a silent null.