Module: OpenTelemetry::Trace::Propagation::ContextKeys

Extended by:
ContextKeys
Included in:
ContextKeys
Defined in:
lib/opentelemetry/trace/propagation/context_keys.rb

Overview

Contains the keys used to index the current span, or extracted span context in a Context instance

Instance Method Summary collapse

Instance Method Details

#current_span_keyContext::Key

Returns the context key that the current span is indexed by

Returns:



29
30
31
# File 'lib/opentelemetry/trace/propagation/context_keys.rb', line 29

def current_span_key
  CURRENT_SPAN_KEY
end

#extracted_span_context_keyContext::Key

Returns the context key that an extracted span context is indexed by

Returns:



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

def extracted_span_context_key
  EXTRACTED_SPAN_CONTEXT_KEY
end