Class: Bitfab::Otel::CarrierRef

Inherits:
Struct
  • Object
show all
Defined in:
lib/bitfab/otel.rb

Overview

Which carrier a payload is, for delivery accounting only. Supplied by the caller that built the payload: the transport never reads inside one.

span_id is nil for the carrier that closes a trace, which is what tells the transport the trace's expected set has stopped growing.

Instance Attribute Summary collapse

Instance Attribute Details

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



59
60
61
# File 'lib/bitfab/otel.rb', line 59

def span_id
  @span_id
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



59
60
61
# File 'lib/bitfab/otel.rb', line 59

def trace_id
  @trace_id
end