class HTTP::Features::Instrumentation::NullInstrumenter

Public Instance Methods

finish(_name, _payload) click to toggle source
# File lib/http/features/instrumentation.rb, line 58
def finish(_name, _payload)
  true
end
instrument(name, payload = {}) { |payload| ... } click to toggle source
# File lib/http/features/instrumentation.rb, line 45
def instrument(name, payload = {})
  start(name, payload)
  begin
    yield payload if block_given?
  ensure
    finish name, payload
  end
end
start(_name, _payload) click to toggle source
# File lib/http/features/instrumentation.rb, line 54
def start(_name, _payload)
  true
end