Interface IWithTrace
Indicator used to signal that the previous message type has OpenTelemetry.Trace.TelemetrySpan information related to it.
Namespace: Phobos.Tracing
Assembly: Phobos.Tracing.dll
Syntax
public interface IWithTrace
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 |
FollowFromActiveSpan
Shows if new span should be following active span, once created
Declaration
bool FollowFromActiveSpan { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
The underlying message, to be included with this payload.
Declaration
object Message { get; }
Property Value
Type | Description |
---|---|
System.Object |
StartTimestamp
Marks the begging of the operation - used to track the total processing latency
Declaration
long StartTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |