Interface IWithTrace
Indicator used to signal that the previous message type has OpenTelemetry.Trace.TelemetrySpan information related to it.
Inherited Members
Namespace: Phobos.Tracing
Assembly: Phobos.Tracing.dll
Syntax
public interface IWithTrace : IWrappedMessage
Properties
ActiveSpan
The OpenTelemetry.Trace.SpanContext created from the previous operation. Can be completed in the next request, or have a span that flows afterwards, or a child span. Up to the end-user.
Declaration
SpanContext ActiveSpan { get; }
Property Value
Type | Description |
---|---|
OpenTelemetry.Trace.SpanContext |
Baggage
Declaration
Baggage Baggage { get; }
Property Value
Type | Description |
---|---|
OpenTelemetry.Baggage |
StartTimestamp
Marks the begging of the operation - used to track the total processing latency
Declaration
long StartTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |