Module Moped::Instrumentable
In: lib/moped/instrumentable.rb
lib/moped/instrumentable/noop.rb
lib/moped/instrumentable/log.rb

Methods

Classes and Modules

Module Moped::Instrumentable::Log
Class Moped::Instrumentable::Noop

Constants

TOPIC = "query.moped"   The name of the topic of operations for Moped.

@since 2.0.0

Attributes

instrumenter  [R]  @!attribute instrumenter
  @return [ Object ] The instrumenter

Public Instance methods

Instrument and execute the provided block.

@example Instrument and execute.

  instrument("moped.noop") do
    node.connect
  end

@param [ String ] name The name of the operation. @param [ Hash ] payload The payload.

@return [ Object ] The result of the yield.

@since 2.0.0

[Validate]