Module: OpenTelemetry::Context::Propagation::DefaultSetter

Included in:
Baggage::Propagation::TextMapInjector, Trace::Propagation::TraceContext::TextMapInjector
Defined in:
lib/opentelemetry/context/propagation/default_setter.rb

Overview

The default setter module provides a common method for writing a key into a carrier that implements +[]=+

Instance Method Summary collapse

Instance Method Details

#default_setterCallable

Returns a callable that can write a key into a carrier that implements +[]=+. Useful for inject operations.

Returns:

  • (Callable)


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

def default_setter
  DEFAULT_SETTER
end