@@ -1657,6 +1657,8 @@ metrics
16571657 totalTimeToFirstNonAuthCommandMillis : Long("<num>")
16581658 },
16591659 operation : {
1660+ killedDueToClientDisconnect : Long("<num>"), // Added in MongoDB 7.1 (*Also available in 7.0.5*)
1661+ killedDueToMaxTimeMSExpired : Long("<num>"), // Added in MongoDB 7.2 (*Also available in 7.0.5*)
16601662 numConnectionNetworkTimeouts : Long("<num>"), // Added in MongoDB 6.3
16611663 totalTimeWaitingBeforeConnectionTimeoutMillis : Long("<num>"), // Added in MongoDB 6.3
16621664 scanAndOrder : Long("<num>"),
@@ -1672,7 +1674,6 @@ metrics
16721674 },
16731675 query: {
16741676 allowDiskUseFalse: Long("<num>"),
1675- planCacheTotalSizeEstimateBytes: Long("<num>"),
16761677 updateOneOpStyleBroadcastWithExactIDCount: Long("<num>"),
16771678 lookup: {
16781679 hashLookup: Long("<num>"),
@@ -2148,6 +2149,19 @@ metrics
21482149 A document that holds counters for several types of update and query
21492150 operations that MongoDB handles using special operation types.
21502151
2152+ .. serverstatus:: metrics.operation.killedDueToClientDisconnect
2153+
2154+ .. versionadded:: 7.1 (*Also available in 7.0.5*)
2155+
2156+ Total number of operations cancelled before completion
2157+ because the client disconnected.
2158+
2159+ .. serverstatus:: metrics.operation.killedDueToMaxTimeMSExpired
2160+
2161+ .. versionadded:: 7.2 (*Also available in 7.0.5*)
2162+
2163+ Total number of operations that timed out before completion.
2164+
21512165.. serverstatus:: metrics.operation.numConnectionNetworkTimeouts
21522166
21532167 .. versionadded:: 6.3
@@ -3853,15 +3867,41 @@ planCache
38533867
38543868.. code-block:: javascript
38553869
3856- planCache: {
3857- classic: { hits: Long("<num>"), misses: Long("<num>") },
3858- sbe: { hits: Long("<num>"), misses: Long("<num>") }
3870+ planCache : {
3871+ totalQueryShapes : Long("<num>"),
3872+ totalSizeEstimateBytes : Long("<num>"),
3873+ classic : {
3874+ hits : Long("<num>"),
3875+ misses : Long("<num>")
3876+ },
3877+ sbe : {
3878+ hits : Long("<num>"),
3879+ misses: Long("<num>")
3880+ }
38593881 }
38603882
38613883.. serverstatus:: planCache
38623884
38633885 A document that reports query plan cache statistics.
38643886
3887+ .. serverstatus:: planCache.totalQueryShapes
3888+
3889+ Approximate number of :term:`query shapes <query shape>`.
3890+
3891+ Prior to version 7.2, information on the number of query shapes was stored in
3892+ the ``query.planCacheTotalQueryShapes`` field.
3893+
3894+ .. versionadded:: 7.2 (*Also available in 7.0.5*)
3895+
3896+ .. serverstatus:: planCache.totalSizeEstimateBytes
3897+
3898+ Total size of the plan cache in bytes.
3899+
3900+ Prior to version 7.2, information on the plan cache size was stored in the
3901+ ``query.planCacheTotalSizeEstimateBytes`` field.
3902+
3903+ .. versionadded:: 7.2 (*Also available in 7.0.5*)
3904+
38653905.. serverstatus:: planCache.classic.hits
38663906
38673907 Number of classic execution engine query plans found in the query
@@ -3874,12 +3914,12 @@ planCache
38743914
38753915.. serverstatus:: planCache.sbe.hits
38763916
3877- Number of slot-based execution engine query plans found in the query
3917+ Number of |sbe-short| query plans found in the query
38783918 cache and reused to avoid the query planning phase.
38793919
38803920.. serverstatus:: planCache.sbe.misses
38813921
3882- Number of slot-based execution engine query plans which were not found
3922+ Number of |sbe-short| plans which were not found
38833923 in the query cache and went through the query planning phase.
38843924
38853925.. _server-status-queryAnalyzers:
@@ -6733,7 +6773,7 @@ wiredTiger
67336773
67346774 .. serverstatus:: wiredTiger.cache.bytes currently in the cache
67356775
6736- Size in byte of the data currently in cache. This value should
6776+ Size in bytes of the data currently in cache. This value should
67376777 not be greater than the ``maximum bytes configured`` value.
67386778
67396779 .. serverstatus:: wiredTiger.cache.unmodified pages evicted
0 commit comments