struct
OpenTelemetry::Trace::SpanContext
- OpenTelemetry::Trace::SpanContext
- Struct
- Value
- Object
Overview
The immutable identifiers and propagation state of a span. Concurrency: immutable and safe to share.
Defined in:
api/trace/span_context.crConstant Summary
-
INVALID =
new(trace_id: TraceId::INVALID, span_id: SpanId::INVALID)
Constructors
Instance Method Summary
- #==(other : self)
-
#hash(hasher)
See
Object#hash(hasher) - #hex_span_id : String
- #hex_trace_id : String
- #remote? : Bool
- #sampled? : Bool
- #span_id : SpanId
- #trace_flags : TraceFlags
- #trace_id : TraceId
- #trace_state : TraceState
- #valid? : Bool
Constructor Detail
def self.new(*, trace_id : TraceId, span_id : SpanId, trace_flags : TraceFlags = TraceFlags::None, trace_state : TraceState = TraceState::EMPTY, remote : Bool = false)
#