Module: OpenTelemetry::CorrelationContext::Propagation

Extended by:
Propagation
Included in:
Propagation
Defined in:
lib/opentelemetry/correlation_context/propagation.rb,
lib/opentelemetry/correlation_context/propagation/context_keys.rb,
lib/opentelemetry/correlation_context/propagation/text_injector.rb,
lib/opentelemetry/correlation_context/propagation/text_extractor.rb

Overview

The Correlation::Propagation module contains injectors and extractors for sending and receiving correlation context over the wire

Defined Under Namespace

Modules: ContextKeys Classes: TextExtractor, TextInjector

Instance Method Summary collapse

Instance Method Details

#rack_extractorObject

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



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

def rack_extractor
  RACK_EXTRACTOR
end

#rack_injectorObject

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



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

def rack_injector
  RACK_INJECTOR
end

#text_extractorObject

Returns an injector that injects context using the W3C Correlation Context format



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

def text_extractor
  TEXT_EXTRACTOR
end

#text_injectorObject

Returns an extractor that extracts context using the W3C Correlation Context format



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

def text_injector
  TEXT_INJECTOR
end