class SystemMetrics::AsyncStore::VoidInstrumenter

An instrumenter that does not send notifications. This is used in the AsyncStore so saving events does not send any notifications, not even for logging.

Public Instance Methods

instrument(name, payload={}) { |payload| ... } click to toggle source
# File lib/system_metrics/async_store.rb, line 10
def instrument(name, payload={})
  yield(payload) if block_given?
end