Module: OpenTelemetry::Propagator::B3::Single

Extended by:
Single
Included in:
Single
Defined in:
lib/opentelemetry/propagator/b3/single.rb,
lib/opentelemetry/propagator/b3/single/text_map_injector.rb,
lib/opentelemetry/propagator/b3/single/text_map_extractor.rb

Overview

Namespace for OpenTelemetry b3 single header encoding

Defined Under Namespace

Classes: TextMapExtractor, TextMapInjector

Instance Method Summary collapse

Instance Method Details

#text_map_extractorObject

Returns an injector that injects context in the B3 single header format



39
40
41
# File 'lib/opentelemetry/propagator/b3/single.rb', line 39

def text_map_extractor
  TEXT_MAP_EXTRACTOR
end

#text_map_injectorObject

Returns an extractor that extracts context in the B3 single header format



33
34
35
# File 'lib/opentelemetry/propagator/b3/single.rb', line 33

def text_map_injector
  TEXT_MAP_INJECTOR
end