Class: Dynflow::TelemetryAdapters::Dummy
- Defined in:
- lib/dynflow/telemetry_adapters/dummy.rb
Overview
Telemetry adapter which does not evaluate blocks passed to #with_instance.
Constant Summary
Constants inherited from Abstract
Instance Method Summary collapse
- #measure(_name, _tags = {}) ⇒ Object
-
#with_instance ⇒ Object
Does nothing with the block passed to it.
Methods inherited from Abstract
#add_counter, #add_gauge, #add_histogram, #increment_counter, #observe_histogram, #set_gauge
Instance Method Details
#measure(_name, _tags = {}) ⇒ Object
14 15 16 17 |
# File 'lib/dynflow/telemetry_adapters/dummy.rb', line 14 def measure(_name, = {}) # Just call the block yield end |
#with_instance ⇒ Object
Does nothing with the block passed to it
10 11 12 |
# File 'lib/dynflow/telemetry_adapters/dummy.rb', line 10 def with_instance # Do nothing end |