Skip to content

Commit c74ddce

Browse files
committed
NH feedback
1 parent 7189dff commit c74ddce

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/monitoring.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ in the state of the MongoDB instance or cluster you have connected the driver to
139139
The driver defines nine SDAM events and provides the following listener
140140
interfaces, which listen for three SDAM events each:
141141

142-
- ``ClusterListener``: Listens for topology-related events
143-
- ``ServerListener``: Listens for events related to ``mongod`` or ``mongos`` processes
144-
- ``ServerMonitorListener``: Listens for heartbeat-related events
142+
- ` ``ClusterListener`` <{+core-api+}/com/mongodb/event/ClusterListener.html>`__ : Listens for topology-related events
143+
- ` ``ServerListener`` <{+core-api+}/com/mongodb/event/ServerListener.html>`__ : Listens for events related to ``mongod`` or ``mongos`` processes
144+
- ` ``ServerMonitorListener`` <{+core-api+}/com/mongodb/event/ServerMonitorListener.html>`__ : Listens for heartbeat-related events
145145

146146
To monitor a type of SDAM event, create a class that implements one of the three
147147
preceding interfaces and register an instance of that class with your
@@ -158,7 +158,7 @@ availability of your MongoDB instance.
158158
To make an event that reports write status, perform the following tasks:
159159

160160
#. Make a class that tracks cluster description changes, and
161-
implements the ``CommandListener`` interface.
161+
implements the ``ClusterListener`` interface.
162162
#. Add an instance of the new class to a ``MongoClientSettings`` object.
163163
#. Configure your ``MongoClient`` instance with the ``MongoClientSettings`` object.
164164

@@ -368,8 +368,8 @@ tracks requests as they propagate throughout different services in a
368368
service-oriented architecture.
369369

370370
If you use the driver in a `Spring Cloud <https://spring.io/projects/spring-cloud>`__
371-
application, use to include MongoDB event data in the `Zipkin
372-
<https://zipkin.io/>`__ distributed tracing system.
371+
application, use Spring Cloud Sleuth to include MongoDB event data in the
372+
`Zipkin <https://zipkin.io/>`__ distributed tracing system.
373373

374374
If you do not use Spring Cloud or want to include driver event data in a distributed
375375
tracing system other than Zipkin, you must write a command event listener that

0 commit comments

Comments
 (0)