Class: OpenCensus::Trace::TraceContextData

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencensus/trace/trace_context_data.rb

Overview

Struct that holds parsed trace context data.

Instance Attribute Summary collapse

Instance Attribute Details

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



21
22
23
# File 'lib/opencensus/trace/trace_context_data.rb', line 21

def span_id
  @span_id
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



21
22
23
# File 'lib/opencensus/trace/trace_context_data.rb', line 21

def trace_id
  @trace_id
end

#trace_optionsObject

Returns the value of attribute trace_options

Returns:

  • (Object)

    the current value of trace_options



21
22
23
# File 'lib/opencensus/trace/trace_context_data.rb', line 21

def trace_options
  @trace_options
end