Class: SystemMetrics::AsyncStore::VoidInstrumenter
- Inherits:
-
ActiveSupport::Notifications::Instrumenter
- Object
- ActiveSupport::Notifications::Instrumenter
- SystemMetrics::AsyncStore::VoidInstrumenter
- Defined in:
- lib/system_metrics/async_store.rb
Overview
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.
Instance Method Summary collapse
Instance Method Details
#instrument(name, payload = {}) {|payload| ... } ⇒ Object
10 11 12 |
# File 'lib/system_metrics/async_store.rb', line 10 def instrument(name, payload={}) yield(payload) if block_given? end |