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
-
#rack_extractor ⇒ Object
Returns an extractor that extracts context using the W3C Trace Context with Rack normalized keys (upcased and prefixed with HTTP_).
-
#rack_injector ⇒ Object
Returns an injector that injects context using the W3C Trace Context format with Rack normalized keys (upcased and prefixed with HTTP_).
-
#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
#rack_extractor ⇒ Object
Returns an extractor that extracts context using the W3C Trace Context with Rack normalized keys (upcased and prefixed with HTTP_)
47 48 49 |
# File 'lib/opentelemetry/trace/propagation/trace_context.rb', line 47 def rack_extractor RACK_EXTRACTOR end |
#rack_injector ⇒ Object
Returns an injector that injects context using the W3C Trace Context format with Rack normalized keys (upcased and prefixed with HTTP_)
53 54 55 |
# File 'lib/opentelemetry/trace/propagation/trace_context.rb', line 53 def rack_injector RACK_INJECTOR end |
#text_map_extractor ⇒ Object
Returns an extractor that extracts context using the W3C Trace Context format
35 36 37 |
# File 'lib/opentelemetry/trace/propagation/trace_context.rb', line 35 def text_map_extractor TEXT_MAP_EXTRACTOR end |
#text_map_injector ⇒ Object
Returns an injector that injects context using the W3C Trace Context format
41 42 43 |
# File 'lib/opentelemetry/trace/propagation/trace_context.rb', line 41 def text_map_injector TEXT_MAP_INJECTOR end |