Class InstrumentedProcessor

Assembly: redb.Route.dll

Wraps an with OpenTelemetry tracing.
Creates an span per call,
recording exceptions and enriching tags from exchange metadata.

public sealed class InstrumentedProcessor : IProcessor

Inheritance

Object→InstrumentedProcessor

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors

InstrumentedProcessor(IProcessor, string)

Creates an instrumented processor wrapper.