Class: ChConnect::NullInstrumenter
- Inherits:
-
Object
- Object
- ChConnect::NullInstrumenter
- Defined in:
- lib/ch_connect/null_instrumenter.rb
Overview
Null instrumenter that does nothing. This is the default instrumenter used when no custom instrumenter is configured.
Instance Method Summary collapse
-
#instrument(_name, _payload = {}) { ... } ⇒ Object
Executes block without any instrumentation.
Instance Method Details
#instrument(_name, _payload = {}) { ... } ⇒ Object
Executes block without any instrumentation.
13 14 15 |
# File 'lib/ch_connect/null_instrumenter.rb', line 13 def instrument(_name, _payload = {}) yield end |