Class SpanTagDefinition

Assembly: redb.Route.dll

Leaf definition of .SpanTag(key, value, target): one attribute on a span of the engine, so a trace can be
found by a business key. The key is checked when the route is built (SpanTagPolicy); the value is an
, a literal being a constant one.

public sealed class SpanTagDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→SpanTagDefinition

Implements

Inherited Members

Properties

Key

The attribute name.

public string Key { get; }

Target

Which span receives the attribute.

public SpanTarget Target { get; }

Value

The expression producing the attribute value.

public IExpression Value { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors