class Freno::Throttler::Instrumenter::Noop

The Noop instrumenter is the `:instrumenter` used by default in the Throttler

It does nothing but yielding the control to the block given if it is provided.

Public Class Methods

instrument(event_name, payload = {}) { |payload| ... } click to toggle source
# File lib/freno/throttler/instrumenter.rb, line 21
def self.instrument(event_name, payload = {})
  yield payload if block_given?
end