Module: OpenTelemetry::Trace::Propagation::TraceContext
- Extended by:
- TraceContext
- Included in:
- TraceContext
- Defined in:
- lib/opentelemetry/trace/propagation/trace_context.rb,
lib/opentelemetry/trace/propagation/trace_context/trace_parent.rb,
lib/opentelemetry/trace/propagation/trace_context/text_map_injector.rb,
lib/opentelemetry/trace/propagation/trace_context/text_map_extractor.rb
Overview
The TraceContext module contains injectors, extractors, and utilties for context propagation in the W3C Trace Context format.
Defined Under Namespace
Classes: TextMapExtractor, TextMapInjector, TraceParent
Instance Method Summary collapse
-
#text_map_extractor ⇒ Object
Returns an extractor that extracts context using the W3C Trace Context format.
-
#text_map_injector ⇒ Object
Returns an injector that injects context using the W3C Trace Context format.
Instance Method Details
#text_map_extractor ⇒ Object
Returns an extractor that extracts context using the W3C Trace Context format
28 29 30 |
# File 'lib/opentelemetry/trace/propagation/trace_context.rb', line 28 def text_map_extractor TEXT_MAP_EXTRACTOR end |
#text_map_injector ⇒ Object
Returns an injector that injects context using the W3C Trace Context format
34 35 36 |
# File 'lib/opentelemetry/trace/propagation/trace_context.rb', line 34 def text_map_injector TEXT_MAP_INJECTOR end |