Module: OpenTelemetry::Context::Propagation
- Extended by:
- Propagation
- Included in:
- Propagation
- Defined in:
- lib/opentelemetry/context/propagation.rb,
lib/opentelemetry/context/propagation/propagator.rb,
lib/opentelemetry/context/propagation/noop_injector.rb,
lib/opentelemetry/context/propagation/noop_extractor.rb,
lib/opentelemetry/context/propagation/rack_env_getter.rb,
lib/opentelemetry/context/propagation/text_map_getter.rb,
lib/opentelemetry/context/propagation/text_map_setter.rb,
lib/opentelemetry/context/propagation/composite_propagator.rb
Overview
The propagation module contains APIs and utilities to interact with context and propagate across process boundaries.
Defined Under Namespace
Classes: CompositePropagator, NoopExtractor, NoopInjector, Propagator, RackEnvGetter, TextMapGetter, TextMapSetter
Instance Method Summary collapse
-
#rack_env_getter ⇒ Object
Returns a RackEnvGetter instance suitable for reading values from a Rack environment.
-
#text_map_getter ⇒ Object
Returns a TextMapGetter instance suitable for reading values from a hash-like carrier.
-
#text_map_setter ⇒ Object
Returns a TextMapSetter instance suitable for writing values into a hash-like carrier.
Instance Method Details
#rack_env_getter ⇒ Object
Returns a RackEnvGetter instance suitable for reading values from a Rack environment.
42 43 44 |
# File 'lib/opentelemetry/context/propagation.rb', line 42 def rack_env_getter RACK_ENV_GETTER end |
#text_map_getter ⇒ Object
Returns a TextMapGetter instance suitable for reading values from a hash-like carrier
30 31 32 |
# File 'lib/opentelemetry/context/propagation.rb', line 30 def text_map_getter TEXT_MAP_GETTER end |
#text_map_setter ⇒ Object
Returns a TextMapSetter instance suitable for writing values into a hash-like carrier
36 37 38 |
# File 'lib/opentelemetry/context/propagation.rb', line 36 def text_map_setter TEXT_MAP_SETTER end |