Module: OpenTelemetry::Baggage::Propagation

Extended by:
Propagation
Included in:
Propagation
Defined in:
lib/opentelemetry/baggage/propagation.rb,
lib/opentelemetry/baggage/propagation/context_keys.rb,
lib/opentelemetry/baggage/propagation/text_map_injector.rb,
lib/opentelemetry/baggage/propagation/text_map_extractor.rb

Overview

The Baggage::Propagation module contains injectors and extractors for sending and receiving baggage over the wire

Defined Under Namespace

Modules: ContextKeys Classes: TextMapExtractor, TextMapInjector

Instance Method Summary collapse

Instance Method Details

#rack_extractorObject

Returns an injector that injects context using the W3C Baggage format with Rack normalized keys (upcased and prefixed with HTTP_)



52
53
54
# File 'lib/opentelemetry/baggage/propagation.rb', line 52

def rack_extractor
  RACK_EXTRACTOR
end

#rack_injectorObject

Returns an extractor that extracts context using the W3C Baggage format with Rack normalized keys (upcased and prefixed with HTTP_)



45
46
47
# File 'lib/opentelemetry/baggage/propagation.rb', line 45

def rack_injector
  RACK_INJECTOR
end

#text_map_extractorObject

Returns an injector that injects context using the W3C Baggage format



38
39
40
# File 'lib/opentelemetry/baggage/propagation.rb', line 38

def text_map_extractor
  TEXT_MAP_EXTRACTOR
end

#text_map_injectorObject

Returns an extractor that extracts context using the W3C Baggage format



32
33
34
# File 'lib/opentelemetry/baggage/propagation.rb', line 32

def text_map_injector
  TEXT_MAP_INJECTOR
end