class HubStep::Tracer::InertSpan

Mimics the interface and no-op behavior of OpenTracing::Span. This is used when tracing is disabled.

Public Instance Methods

configure() click to toggle source
# File lib/hubstep/tracer.rb, line 188
def configure
end
finish(end_time: nil) click to toggle source
# File lib/hubstep/tracer.rb, line 214
def finish(end_time: nil)
end
get_baggage_item(_key, _value) click to toggle source
# File lib/hubstep/tracer.rb, line 202
def get_baggage_item(_key, _value)
  nil
end
log(event: nil, timestamp: nil, **fields) click to toggle source
# File lib/hubstep/tracer.rb, line 210
def log(event: nil, timestamp: nil, **fields) # rubocop:disable Lint/UnusedMethodArgument
  nil
end
operation_name=(name) click to toggle source
# File lib/hubstep/tracer.rb, line 191
def operation_name=(name)
end
set_baggage_item(_key, _value) click to toggle source
# File lib/hubstep/tracer.rb, line 198
def set_baggage_item(_key, _value)
  self
end
set_tag(_key, _value) click to toggle source
# File lib/hubstep/tracer.rb, line 194
def set_tag(_key, _value)
  self
end
span_context() click to toggle source
# File lib/hubstep/tracer.rb, line 206
def span_context
  InertSpanContext.instance
end