mongo.rb

Path: lib/new_relic/agent/instrumentation/mongo.rb
Last Update: Wed Feb 15 06:29:35 +0000 2017

encoding: utf-8 This file is distributed under New Relic‘s license terms. See github.com/newrelic/rpm/blob/master/LICENSE for complete details.

Required files

new_relic/agent/datastores/mongo   new_relic/agent/instrumentation/mongodb_command_subscriber   new_relic/agent/datastores/mongo/metric_translator   new_relic/agent/datastores/mongo/statement_formatter  

Methods

Included Modules

NewRelic::Agent::MethodTracer

Public Instance methods

It‘s key that this method eats all exceptions, as it rests between the Mongo operation the user called and us returning them the data. Be safe!

[Validate]