class Traces::Context
def initialize(trace_id, parent_id, flags, state = nil, baggage = nil, remote: false)
@parameter state [Hash] Additional vendor-specific trace identification information.
@parameter flags [Integer] An 8-bit field that controls tracing flags such as sampling, trace level, etc.
@parameter parent_id [String] The ID of this operation as known by the caller (sometimes referred to as the span ID).
@parameter trace_id [String] The ID of the whole trace forest.
Initialize the trace context.
def initialize(trace_id, parent_id, flags, state = nil, baggage = nil, remote: false) @trace_id = trace_id @parent_id = parent_id @flags = flags @state = state @baggage = baggage @remote = remote end