Class: ElasticAPM::Spies::MongoSpy Private
- Inherits:
-
Object
- Object
- ElasticAPM::Spies::MongoSpy
- Defined in:
- lib/elastic_apm/spies/mongo.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Subscriber
Instance Method Summary collapse
- #install ⇒ Object private
Instance Method Details
#install ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28 29 30 |
# File 'lib/elastic_apm/spies/mongo.rb', line 25 def install ::Mongo::Monitoring::Global.subscribe( ::Mongo::Monitoring::COMMAND, Subscriber.new ) end |