@@ -22,9 +22,9 @@ Overview
22
22
23
23
This guide shows you how to use the {+php-library+} to monitor server
24
24
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.
28
28
29
29
You might use information about SDAM events in your application to
30
30
understand cluster changes, assess cluster health, or perform capacity
@@ -100,21 +100,20 @@ documentation, and a description of when the event is published:
100
100
changing from secondary to primary.
101
101
102
102
* - :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.
105
104
106
105
* - :php:`ServerClosedEvent <mongodb-driver-monitoring-serverclosedevent>`
107
- - Created when the server is closed.
106
+ - Created when a server connection is closed.
108
107
109
108
* - :php:`TopologyChangedEvent <mongodb-driver-monitoring-topologychangedevent>`
110
109
- 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.
112
111
113
112
* - :php:`TopologyOpeningEvent <mongodb-driver-monitoring-topologyopeningevent>`
114
- - Created when the topology description is initialized .
113
+ - Created when the driver first connects to the cluster .
115
114
116
115
* - :php:`TopologyClosedEvent <mongodb-driver-monitoring-topologyclosedevent>`
117
- - Created when the topology is closed .
116
+ - Created when the driver disconnects from the cluster .
118
117
119
118
* - :php:`ServerHeartbeatStartedEvent <mongodb-driver-monitoring-serverheartbeatstartedevent>`
120
119
- Created when the server monitor sends a ``hello`` call to the server.
0 commit comments