Module: Mongo::Monitoring::Global
- Extended by:
- Subscribable
- Defined in:
- build/ruby-driver-v2.19/lib/mongo/monitoring.rb
Overview
Note:
Global subscriptions must be established prior to creating clients. When a client is constructed it copies subscribers from the Global module; subsequent subscriptions or unsubscriptions on the Global module have no effect on already created clients.
Allows subscribing to events for all Mongo clients.