Class: OpenCensus::Trace::SpanContext::TraceData

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

Overview

Internal struct that holds trace-wide data.

Instance Attribute Summary collapse

Instance Attribute Details

#span_mapObject

Returns the value of attribute span_map

Returns:

  • (Object)

    the current value of span_map



28
29
30
# File 'lib/opencensus/trace/span_context.rb', line 28

def span_map
  @span_map
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



28
29
30
# File 'lib/opencensus/trace/span_context.rb', line 28

def trace_id
  @trace_id
end

#trace_optionsObject

Returns the value of attribute trace_options

Returns:

  • (Object)

    the current value of trace_options



28
29
30
# File 'lib/opencensus/trace/span_context.rb', line 28

def trace_options
  @trace_options
end