Skip to content

Commit 8e86013

Browse files
committed
DOCSP-37144: Server monitoring mode (#362)
(cherry picked from commit 5edffd1)
1 parent 0708986 commit 8e86013

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
@@ -363,6 +363,17 @@ relevant options.
363363
| **Default**: ``null``
364364
| **Connection URI Example**: {+not-available+}
365365

366+
* - **ServerMonitoringMode**
367+
- | Specifies the server monitoring protocol to use. When
368+
| this option is set to ``Auto``, the monitoring mode is determined
369+
| by the environment in which the driver is running. The driver
370+
| uses polling mode in function-as-a-service (FaaS) environments,
371+
| such as AWS Lambda, and the streaming mode in other environments.
372+
|
373+
| **Data Type**: `ServerMonitoringMode <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Servers.ServerMonitoringMode.html>`__
374+
| **Default**: ``Auto``
375+
| **Connection URI Example**: ``serverMonitoringMode=poll``
376+
366377
* - **Servers**
367378
- | The cluster members where MongoDB is running.
368379
|

0 commit comments

Comments
 (0)