Class: StackifyRubyAPM::Spies::MongoSpy Private
- Inherits:
-
Object
- Object
- StackifyRubyAPM::Spies::MongoSpy
- Defined in:
- lib/stackify_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.
12 13 14 15 16 17 |
# File 'lib/stackify_apm/spies/mongo.rb', line 12 def install ::Mongo::Monitoring::Global.subscribe( ::Mongo::Monitoring::COMMAND, Subscriber.new ) end |