Class: HubStep::Tracer::InertSpanContext

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#baggageObject (readonly)

Returns the value of attribute baggage.



224
225
226
# File 'lib/hubstep/tracer.rb', line 224

def baggage
  @baggage
end

#idObject (readonly)

Returns the value of attribute id.



224
225
226
# File 'lib/hubstep/tracer.rb', line 224

def id
  @id
end

#trace_idObject (readonly)

Returns the value of attribute trace_id.



224
225
226
# File 'lib/hubstep/tracer.rb', line 224

def trace_id
  @trace_id
end