Skip to content

Commit 0eebaed

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15639-connection-network-timeouts (#1899)
* DOCS-15639-connection-network-timeouts * DOCS-15639-connection-network-timeouts * DOCS-15639-connection-network-timeouts * DOCS-15639-connection-network-timeouts * DOCS-15639-connection-network-timeouts * DOCS-15639-connection-network-timeouts * DOCS-15639-connection-network-timeouts Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 1d02fc4 commit 0eebaed

File tree

2 files changed

+32
-26
lines changed

2 files changed

+32
-26
lines changed

source/reference/command/serverStatus.txt

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,8 +1510,10 @@ metrics
15101510
totalIngressTLSHandshakeTimeMillis : Long("<num>")
15111511
},
15121512
operation : {
1513-
scanAndOrder : Long("<num>"),
1514-
writeConflicts : Long("<num>")
1513+
numConnectionNetworkTimeouts : Long("<num>"), // Added in MongoDB 6.2
1514+
totalTimeWaitingBeforeConnectionTimeoutMillis : Long("<num>"), // Added in MongoDB 6.2
1515+
scanAndOrder : Long("<num>"),
1516+
writeConflicts : Long("<num>")
15151517
},
15161518
operatorCounters : {
15171519
expressions : {
@@ -1962,6 +1964,20 @@ metrics
19621964
A document that holds counters for several types of update and query
19631965
operations that MongoDB handles using special operation types.
19641966

1967+
.. serverstatus:: metrics.operation.numConnectionNetworkTimeouts
1968+
1969+
.. versionadded:: 6.2
1970+
1971+
Total number of operations that failed because of server connection
1972+
acquisition time out errors.
1973+
1974+
.. serverstatus:: metrics.operation.totalTimeWaitingBeforeConnectionTimeoutMillis
1975+
1976+
.. versionadded:: 6.2
1977+
1978+
Total time in milliseconds that operations waited before failing
1979+
because of server connection acquisition time out errors.
1980+
19651981
.. serverstatus:: metrics.operation.scanAndOrder
19661982

19671983
The total number of queries that return sorted numbers that cannot

source/release-notes/6.2.txt

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,20 @@ Starting in MongoDB 6.2, the :dbcommand:`serverStatus` command and the
3030
* - Document
3131
- Field(s)
3232

33-
* - New :serverstatus:`network.listenerProcessingTime` document that
34-
reports the time the database listener spends allocating
35-
incoming database connection requests.
36-
- Field:
37-
38-
- :serverstatus:`network.listenerProcessingTime.durationMicros`
33+
* - New :serverstatus:`network.listenerProcessingTime` document.
34+
- :serverstatus:`network.listenerProcessingTime.durationMicros`
3935

4036
* - Addition to :serverstatus:`connections` document.
41-
- New field that reports the number of incoming connections the
42-
server has rejected.
43-
44-
- :serverstatus:`connections.rejected`
37+
- :serverstatus:`connections.rejected`
4538

46-
* - New :serverstatus:`metrics.network` document that reports
47-
additional server network metrics.
48-
- Fields:
39+
* - New :serverstatus:`metrics.network` document.
40+
- :serverstatus:`metrics.network.totalEgressConnectionEstablishmentTimeMillis`
41+
:serverstatus:`metrics.network.totalIngressTLSConnections`
42+
:serverstatus:`metrics.network.totalIngressTLSHandshakeTimeMillis`
4943

50-
- :serverstatus:`metrics.network.totalEgressConnectionEstablishmentTimeMillis`
51-
- :serverstatus:`metrics.network.totalIngressTLSConnections`
52-
- :serverstatus:`metrics.network.totalIngressTLSHandshakeTimeMillis`
44+
* - Additions to :serverstatus:`metrics.operation` document.
45+
- :serverstatus:`metrics.operation.numConnectionNetworkTimeouts`
46+
:serverstatus:`metrics.operation.totalTimeWaitingBeforeConnectionTimeoutMillis`
5347

5448
``connPoolStats`` Metrics
5549
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -64,14 +58,10 @@ these output changes:
6458
* - Document
6559
- Field(s)
6660

67-
* - New :data:`connPoolStats.acquisitionWaitTimes` document that
68-
reports the wait times for requests to acquire a connection from
69-
:binary:`~bin.mongos` to :binary:`~bin.mongod`.
70-
- New fields:
71-
72-
- Time ranges with the number of connection requests in each
73-
range.
74-
- Total number of connection requests for all time ranges.
61+
* - New :data:`connPoolStats.acquisitionWaitTimes` document.
62+
- Time ranges with the number of connection requests in each
63+
range.
64+
Total number of connection requests for all time ranges.
7565

7666
Server Parameters
7767
-----------------

0 commit comments

Comments
 (0)