:mod:`monitoring` -- Tools for monitoring driver events.
========================================================

.. automodule:: pymongo.monitoring
   :synopsis: Tools for monitoring driver events.

   .. autofunction:: register(listener)
   .. autoclass:: CommandListener
      :members:
      :inherited-members:
   .. autoclass:: ServerListener
      :members:
      :inherited-members:
   .. autoclass:: ServerHeartbeatListener
      :members:
      :inherited-members:
   .. autoclass:: TopologyListener
      :members:
      :inherited-members:
   .. autoclass:: CommandStartedEvent
      :members:
      :inherited-members:
   .. autoclass:: CommandSucceededEvent
      :members:
      :inherited-members:
   .. autoclass:: CommandFailedEvent
      :members:
      :inherited-members:
   .. autoclass:: ServerDescriptionChangedEvent
      :members:
      :inherited-members:
   .. autoclass:: ServerOpeningEvent
      :members:
      :inherited-members:
   .. autoclass:: ServerClosedEvent
      :members:
      :inherited-members:
   .. autoclass:: TopologyDescriptionChangedEvent
      :members:
      :inherited-members:
   .. autoclass:: TopologyOpenedEvent
      :members:
      :inherited-members:
   .. autoclass:: TopologyClosedEvent
      :members:
      :inherited-members:
   .. autoclass:: ServerHeartbeatStartedEvent
      :members:
      :inherited-members:
   .. autoclass:: ServerHeartbeatSucceededEvent
      :members:
      :inherited-members:
   .. autoclass:: ServerHeartbeatFailedEvent
      :members:
      :inherited-members:
