Module: OpenTelemetry::Context::Propagation::DefaultGetter
- Included in:
- Baggage::Propagation::TextMapExtractor, Trace::Propagation::TraceContext::TextMapExtractor
- Defined in:
- lib/opentelemetry/context/propagation/default_getter.rb
Overview
The default getter module provides a common method for reading a key from a carrier that implements +[]+
Instance Method Summary collapse
-
#default_getter ⇒ Callable
Returns a callable that can read a key from a carrier that implements +[]+.
Instance Method Details
#default_getter ⇒ Callable
Returns a callable that can read a key from a carrier that implements +[]+. Useful for extract operations.
20 21 22 |
# File 'lib/opentelemetry/context/propagation/default_getter.rb', line 20 def default_getter DEFAULT_GETTER end |