Skip to content

Commit 8b5abf9

Browse files
jason-price-mongodbjason-price-mongodb
and
jason-price-mongodb
authored
DOCS-15526 connections rejected metric (mongodb#1600)
* DOCS-15526-connections-rejected-metric * DOCS-15526-connections-rejected-metric * DOCS-15526-connections-rejected-metric * DOCS-15526-connections-rejected-metric Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 6dc154b commit 8b5abf9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ connections
327327
"current" : <num>,
328328
"available" : <num>,
329329
"totalCreated" : <num>,
330+
"rejected" : <num>, // Added in MongoDB 6.1
330331
"active" : <num>,
331332
"threaded" : <num>,
332333
"exhaustIsMaster" : <num>,
@@ -365,6 +366,14 @@ connections
365366
Count of **all** incoming connections created to the server. This
366367
number includes connections that have since closed.
367368

369+
.. serverstatus:: connections.rejected
370+
371+
The number of incoming connections the server rejected because the
372+
server doesn't have the capacity to accept additional connections or
373+
the :setting:`net.maxIncomingConnections` setting is reached.
374+
375+
.. versionadded:: 6.1
376+
368377
.. serverstatus:: connections.active
369378

370379
The number of active client connections to the server. Active client

source/release-notes/6.1.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ Starting in MongoDB 6.1, the :dbcommand:`serverStatus` command and the
9393

9494
- :serverstatus:`network.listenerProcessingTime.durationMicros`
9595

96+
* - Addition to :serverstatus:`connections` document.
97+
- New field that reports the number of incoming connections the
98+
server has rejected.
99+
100+
- :serverstatus:`connections.rejected`
101+
96102
Report an Issue
97103
---------------
98104

0 commit comments

Comments
 (0)