Class TracedDefinition

Assembly: redb.Route.dll

Scope-opener definition for OpenTelemetry tracing.
All child steps run inside a single span
named . Transports (AMQP, RabbitMQ, etc.) create child spans
automatically from the parent activity propagated on the exchange.
Inherits the leaf DSL from ;
close with or the universal .

public class TracedDefinition : RouteDefinitionBase<TracedDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope

Inheritance

Implements

Inherited Members

Properties

OperationName

Operation name used as the Activity span name.

public string OperationName { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

End()

Closes this scope and returns the parent .

public IRouteDefinition End()

EndTraced()

Closes this traced scope and returns the parent route definition.

public IRouteDefinition EndTraced()