Class MeteredStepProcessor
Wraps a processor pipeline to collect per-step metrics: count, duration, failures.
Unlike (route-level), this tags metrics with
both redb.route.id and redb.route.step.
public sealed class MeteredStepProcessor : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
MeteredStepProcessor(IProcessor, string, IReadOnlyList<(string Name, Func<IExchange, object?> Resolver)>?)
Creates a per-step metered processor wrapper with dynamic tag providers.
MeteredStepProcessor(IProcessor, string)
Creates a per-step metered processor wrapper.