Module: OpenTelemetry::Common::Propagation

Extended by:
Propagation
Included in:
Propagation
Defined in:
lib/opentelemetry/common/propagation.rb,
lib/opentelemetry/common/propagation/rack_env_getter.rb,
lib/opentelemetry/common/propagation/symbol_key_getter.rb

Overview

Propagation contains common helpers for context propagation.

Defined Under Namespace

Classes: RackEnvGetter, SymbolKeyGetter

Instance Method Summary collapse

Instance Method Details

#rack_env_getterObject

Returns a RackEnvGetter instance suitable for reading values from a Rack environment.



22
23
24
# File 'lib/opentelemetry/common/propagation.rb', line 22

def rack_env_getter
  RACK_ENV_GETTER
end

#symbol_key_getterObject

Returns a SymbolKeyGetter instance for reading values from a symbol keyed hash.



28
29
30
# File 'lib/opentelemetry/common/propagation.rb', line 28

def symbol_key_getter
  SYMBOL_KEY_GETTER
end