Skip to content

Commit b517f4c

Browse files
authored
DOCSP-37144: Server monitoring mode (mongodb#362)
1 parent ca32edc commit b517f4c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/fundamentals/connection/connection-options.txt

+11
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,17 @@ relevant options.
356356
| **Default**: ``null``
357357
| **Connection URI Example**: {+not-available+}
358358

359+
* - **ServerMonitoringMode**
360+
- | Specifies the server monitoring protocol to use. When
361+
| this option is set to ``Auto``, the monitoring mode is determined
362+
| by the environment in which the driver is running. The driver
363+
| uses polling mode in function-as-a-service (FaaS) environments,
364+
| such as AWS Lambda, and the streaming mode in other environments.
365+
|
366+
| **Data Type**: `ServerMonitoringMode <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Servers.ServerMonitoringMode.html>`__
367+
| **Default**: ``Auto``
368+
| **Connection URI Example**: ``serverMonitoringMode=poll``
369+
359370
* - **Servers**
360371
- | The cluster members where MongoDB is running.
361372
|

0 commit comments

Comments
 (0)