struct OpenTelemetry::Propagation::TraceContext::TraceParent
- OpenTelemetry::Propagation::TraceContext::TraceParent
- Struct
- Value
- Object
Defined in:
propagation/trace_context/trace_parent.crConstant Summary
-
MATCH =
/^(?<version>[A-Fa-f0-9]{2})-(?<trace_id>[A-Fa-f0-9]{32})-(?<span_id>[A-Fa-f0-9]{16})-(?<flags>[A-Fa-f0-9]{2})(?<ignored>-.*)?$/
-
VERSION_MATCH =
/(?<version>[A-Fa-f0-9]{2})/
Constructors
- .new(version, trace_id, span_id, trace_flags)
- .new(trace_id, span_id, trace_flags)
- .new(parts : Array(String))
- .new
Class Method Summary
- .from_span_context(ctx : SpanContext)
- .from_string(traceparent : String)
- .valid?(traceparent : String)
Instance Method Summary
- #span_id : Bytes
- #span_id=(span_id : Bytes)
- #to_s(io)
- #trace_flags : TraceFlags
- #trace_flags=(trace_flags : TraceFlags)
- #trace_id : Bytes
- #trace_id=(trace_id : Bytes)
- #valid?
- #version : Bytes
- #version=(version : Bytes)