Skip to content

Commit 5039cb9

Browse files
authored
DOCS-16363 Document killedDueToMaxTimeMSExpired under serverStatus (#5193)
* DOCS-16363 Document killedDueToMaxTimeMSExpired under serverStatus * add to TOC * wording * build error
1 parent 5018fb5 commit 5039cb9

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,6 +1629,7 @@ metrics
16291629
},
16301630
operation : {
16311631
killedDueToClientDisconnect : Long("<num>"), // Added in MongoDB 7.1
1632+
killedDueToMaxTimeMSExpired : Long("<num>"), // Added in MongoDB 7.2
16321633
numConnectionNetworkTimeouts : Long("<num>"), // Added in MongoDB 6.3
16331634
scanAndOrder : Long("<num>"),
16341635
totalTimeWaitingBeforeConnectionTimeoutMillis : Long("<num>"), // Added in MongoDB 6.3
@@ -2140,6 +2141,12 @@ metrics
21402141
Total number of operations cancelled before completion
21412142
because the client disconnected.
21422143

2144+
.. serverstatus:: metrics.operation.killedDueToMaxTimeMSExpired
2145+
2146+
.. versionadded:: 7.2
2147+
2148+
Total number of operations that timed out before completion.
2149+
21432150
.. serverstatus:: metrics.operation.numConnectionNetworkTimeouts
21442151

21452152
.. versionadded:: 6.3

source/release-notes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ EOL'ed Releases
7777
:maxdepth: 1
7878
:hidden:
7979

80+
/release-notes/7.2
8081
/release-notes/7.1
8182
/release-notes/7.0
8283
/release-notes/6.3

source/release-notes/7.2.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Database Validation on ``mongos`` Aggregation Queries
3939
Starting in MongoDB 7.2, the :dbcommand:`serverStatus` command and the
4040
:method:`db.serverStatus()` method outputs include the following new metrics:
4141

42+
- :serverstatus:`metrics.operation.killedDueToMaxTimeMSExpired`
4243
- :serverstatus:`readPreferenceCounters`
4344

4445
.. toctree::

0 commit comments

Comments
 (0)