Module: Moped::Instrumentable
- Included in:
- Node
- Defined in:
- lib/patches/instrument.rb,
lib/patches/instrument.rb
Defined Under Namespace
Classes: Noop
Constant Summary collapse
- TOPIC =
"query.moped"
Instance Method Summary collapse
Instance Method Details
#instrument(name, payload = {}, &block) ⇒ Object
30 31 32 |
# File 'lib/patches/instrument.rb', line 30 def instrument(name, payload = {}, &block) instrumenter.instrument(name, payload, &block) end |
#instrumenter ⇒ Object
26 27 28 |
# File 'lib/patches/instrument.rb', line 26 def instrumenter @instrumenter ||= Moped::Instrumentable::Noop end |