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

Instance Method Details

#default_getterCallable

Returns a callable that can read a key from a carrier that implements +[]+. Useful for extract operations.

Returns:

  • (Callable)


20
21
22
# File 'lib/opentelemetry/context/propagation/default_getter.rb', line 20

def default_getter
  DEFAULT_GETTER
end