10.28.13

ITraceContext Interface

An interface that abstracts readonly view on a metadata used for distributed message tracing with Solace .Net messaging API.

Definition

Namespace: SolaceSystems.Solclient.Messaging.Trace.Propagation
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.28.1
C#
public interface ITraceContext

Properties

Sampled Returns true if the sampling for the associated message is on, otherwise false.
SpanId Gets the value of the span identifier associated with this message {@code TraceContext} as 8-byte array.
TraceId Gets the value of the trace identifier associated with this message as 16-byte array.
TraceState Gets the value of the trace state associated with this message. See w3c trace state format specification

See Also