class ElasticAPM::OpenTracing::SpanContext
@api private
Attributes
trace_context[RW]
Public Class Methods
from_trace_context(trace_context)
click to toggle source
# File lib/elastic_apm/opentracing.rb, line 108 def self.from_trace_context(trace_context) new(trace_context: trace_context) end
new(trace_context:, baggage: nil)
click to toggle source
# File lib/elastic_apm/opentracing.rb, line 96 def initialize(trace_context:, baggage: nil) if baggage ElasticAPM.agent.config.logger.warn( 'Baggage is not supported by ElasticAPM' ) end @trace_context = trace_context end