Class: HubStep::Tracer::InertSpanContext
- Inherits:
-
Object
- Object
- HubStep::Tracer::InertSpanContext
- Includes:
- Singleton
- Defined in:
- lib/hubstep/tracer.rb
Overview
Mimics the interface and no-op behavior of LightStep::SpanContext. This is used when tracing is disabled.
Instance Attribute Summary collapse
-
#baggage ⇒ Object
readonly
Returns the value of attribute baggage.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#trace_id ⇒ Object
readonly
Returns the value of attribute trace_id.
Instance Attribute Details
#baggage ⇒ Object (readonly)
Returns the value of attribute baggage.
224 225 226 |
# File 'lib/hubstep/tracer.rb', line 224 def baggage @baggage end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
224 225 226 |
# File 'lib/hubstep/tracer.rb', line 224 def id @id end |
#trace_id ⇒ Object (readonly)
Returns the value of attribute trace_id.
224 225 226 |
# File 'lib/hubstep/tracer.rb', line 224 def trace_id @trace_id end |