SpanContext represents Span state that must propagate to
Span „s and across process boundaries.
SpanContext is logically divided into two pieces: the user-level «Baggage»
Span.get_baggage_item ) that
propagates across Span boundaries and any
tracer-implementation-specific fields that are needed to identify or
otherwise contextualize the associated
Span (e.g., a (trace_id,
span_id, sampled) tuple).
Create new span context
- opts: options
(table) span context
clone_with_baggage_item (self, key, value)¶
New from existing but with an extra baggage item Clone context and add item to its baggage
get_baggage_item (self, key)¶
Get item from baggage