Class: Skylight::Core::Probes::Mongo::Probe Private

Inherits:
Object
  • Object
show all
Defined in:
lib/skylight/core/probes/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.

Instance Method Summary collapse

Instance Method Details

#installObject

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.


7
8
9
# File 'lib/skylight/core/probes/mongo.rb', line 7

def install
  ::Mongo::Monitoring::Global.subscribe(::Mongo::Monitoring::COMMAND, Subscriber.new)
end