Skip to content

Commit e3351c5

Browse files
committed
JM tech review 2
1 parent 25d4f88 commit e3351c5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

source/monitoring/cluster-monitoring.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Overview
2222

2323
This guide shows you how to use the {+php-library+} to monitor server
2424
discovery and monitoring (SDAM) events in a MongoDB instance, replica
25-
set, or sharded cluster. These events occur when there
26-
are any changes in the state of the MongoDB instance or cluster that you
27-
are connected to.
25+
set, or sharded cluster. These events occur when there are any changes
26+
in the state of the MongoDB instance or cluster that you are connected
27+
to.
2828

2929
You might use information about SDAM events in your application to
3030
understand cluster changes, assess cluster health, or perform capacity
@@ -100,21 +100,20 @@ documentation, and a description of when the event is published:
100100
changing from secondary to primary.
101101

102102
* - :php:`ServerOpeningEvent <mongodb-driver-monitoring-serveropeningevent>`
103-
- Created when the server description is instantiated with its
104-
defaults.
103+
- Created when a server connection is established.
105104

106105
* - :php:`ServerClosedEvent <mongodb-driver-monitoring-serverclosedevent>`
107-
- Created when the server is closed.
106+
- Created when a server connection is closed.
108107

109108
* - :php:`TopologyChangedEvent <mongodb-driver-monitoring-topologychangedevent>`
110109
- Created when the topology description changes, such when there is
111-
an election of a new primary or disconnection of a ``mongos`` proxy.
110+
an election of a new primary.
112111

113112
* - :php:`TopologyOpeningEvent <mongodb-driver-monitoring-topologyopeningevent>`
114-
- Created when the topology description is initialized.
113+
- Created when the driver first connects to the cluster.
115114

116115
* - :php:`TopologyClosedEvent <mongodb-driver-monitoring-topologyclosedevent>`
117-
- Created when the topology is closed.
116+
- Created when the driver disconnects from the cluster.
118117

119118
* - :php:`ServerHeartbeatStartedEvent <mongodb-driver-monitoring-serverheartbeatstartedevent>`
120119
- Created when the server monitor sends a ``hello`` call to the server.

0 commit comments

Comments
 (0)