Method: TingYun::Instrumentation::Mongo#hook_instrument_methods

Defined in:
lib/ting_yun/instrumentation/mongo.rb

#hook_instrument_methodsObject



17
18
19
20
21
22
# File 'lib/ting_yun/instrumentation/mongo.rb', line 17

def hook_instrument_methods
  hook_instrument_method(::Mongo::Collection)
  hook_instrument_method(::Mongo::Connection)
  hook_instrument_method(::Mongo::Cursor)
  hook_instrument_method(::Mongo::CollectionWriter) if defined?(::Mongo::CollectionWriter)
end