Module: OpenTelemetry::CorrelationContext::Propagation
- Extended by:
- Propagation
- Included in:
- Propagation
- Defined in:
- lib/opentelemetry/correlation_context/propagation.rb,
lib/opentelemetry/correlation_context/propagation/context_keys.rb,
lib/opentelemetry/correlation_context/propagation/text_injector.rb,
lib/opentelemetry/correlation_context/propagation/text_extractor.rb
Overview
The Correlation::Propagation module contains injectors and extractors for sending and receiving correlation context over the wire
Defined Under Namespace
Modules: ContextKeys Classes: TextExtractor, TextInjector
Instance Method Summary collapse
-
#rack_extractor ⇒ Object
Returns an injector that injects context using the W3C Correlation Context format with Rack normalized keys (upcased and prefixed with HTTP_).
-
#rack_injector ⇒ Object
Returns an extractor that extracts context using the W3C Correlation Context format with Rack normalized keys (upcased and prefixed with HTTP_).
-
#text_extractor ⇒ Object
Returns an injector that injects context using the W3C Correlation Context format.
-
#text_injector ⇒ Object
Returns an extractor that extracts context using the W3C Correlation Context format.
Instance Method Details
#rack_extractor ⇒ Object
Returns an injector that injects context using the W3C Correlation Context format with Rack normalized keys (upcased and prefixed with HTTP_)
52 53 54 |
# File 'lib/opentelemetry/correlation_context/propagation.rb', line 52 def rack_extractor RACK_EXTRACTOR end |
#rack_injector ⇒ Object
Returns an extractor that extracts context using the W3C Correlation Context format with Rack normalized keys (upcased and prefixed with HTTP_)
45 46 47 |
# File 'lib/opentelemetry/correlation_context/propagation.rb', line 45 def rack_injector RACK_INJECTOR end |
#text_extractor ⇒ Object
Returns an injector that injects context using the W3C Correlation Context format
38 39 40 |
# File 'lib/opentelemetry/correlation_context/propagation.rb', line 38 def text_extractor TEXT_EXTRACTOR end |
#text_injector ⇒ Object
Returns an extractor that extracts context using the W3C Correlation Context format
32 33 34 |
# File 'lib/opentelemetry/correlation_context/propagation.rb', line 32 def text_injector TEXT_INJECTOR end |