Class: Bitfab::Otel::CarrierRef
- Inherits:
-
Struct
- Object
- Struct
- Bitfab::Otel::CarrierRef
- 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
-
#span_id ⇒ Object
Returns the value of attribute span_id.
-
#trace_id ⇒ Object
Returns the value of attribute trace_id.
Instance Attribute Details
#span_id ⇒ Object
Returns the value of attribute span_id
59 60 61 |
# File 'lib/bitfab/otel.rb', line 59 def span_id @span_id end |
#trace_id ⇒ Object
Returns the value of attribute trace_id
59 60 61 |
# File 'lib/bitfab/otel.rb', line 59 def trace_id @trace_id end |