Class: InstrumentAllTheThings::Clients::Blackhole

Inherits:
Object
  • Object
show all
Defined in:
lib/instrument_all_the_things/clients/tracer/blackhole.rb

Defined Under Namespace

Classes: Span

Instance Method Summary collapse

Constructor Details

#initializeBlackhole

Returns a new instance of Blackhole.



12
13
14
# File 'lib/instrument_all_the_things/clients/tracer/blackhole.rb', line 12

def initialize
  reset!
end

Instance Method Details

#trace(_name, _options) {|Span.new| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/instrument_all_the_things/clients/tracer/blackhole.rb', line 16

def trace(_name, _options)
  yield Span.new
end