Method: Atatus::TraceContext#initialize
- Defined in:
- lib/atatus/trace_context.rb
#initialize(traceparent: nil, tracestate: nil) ⇒ TraceContext
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of TraceContext.
30 31 32 33 34 35 36 |
# File 'lib/atatus/trace_context.rb', line 30 def initialize( traceparent: nil, tracestate: nil ) @traceparent = traceparent || Traceparent.new @tracestate = tracestate || Tracestate.new end |