Skip to content

Commit 1d02fc4

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15617-TLS-metrics-and-move-others-to-6.2 (#1886)
* DOCS-15617-TLS-metrics-and-move-others-to-6.2 * DOCS-15617-TLS-metrics-and-move-others-to-6.2 * DOCS-15617-TLS-metrics-and-move-others-to-6.2 * DOCS-15617-TLS-metrics-and-move-others-to-6.2 * DOCS-15617-TLS-metrics-and-move-others-to-6.2 * DOCS-15617-TLS-metrics-and-move-others-to-6.2 Co-authored-by: jason-price-mongodb <[email protected]>
1 parent dfc74fa commit 1d02fc4

File tree

7 files changed

+148
-69
lines changed

7 files changed

+148
-69
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ windows-dir-version = "6.0" # wizard
227227
package-name-org = "mongodb-org"
228228
package-name-enterprise = "mongodb-enterprise"
229229
package-name = "mongodb"
230-
version = "6.1"
230+
version = "6.2"
231231
latest-lts-version = "6.0"
232232
release = "6.0.1"
233233
version-dev = "6.0"

source/reference/command/connPoolStats.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Output
428428

429429
.. data:: connPoolStats.acquisitionWaitTimes
430430

431-
.. versionadded:: 6.1
431+
.. versionadded:: 6.2
432432

433433
Document reports a histogram with the wait times for requests to
434434
acquire a connection from :binary:`~bin.mongos` to

source/reference/command/serverStatus.txt

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ connections
269269
"current" : <num>,
270270
"available" : <num>,
271271
"totalCreated" : <num>,
272-
"rejected" : <num>, // Added in MongoDB 6.1
272+
"rejected" : <num>, // Added in MongoDB 6.2
273273
"active" : <num>,
274274
"threaded" : <num>,
275275
"exhaustIsMaster" : <num>,
@@ -310,12 +310,12 @@ connections
310310

311311
.. serverstatus:: connections.rejected
312312

313+
.. versionadded:: 6.2
314+
313315
The number of incoming connections the server rejected because the
314316
server doesn't have the capacity to accept additional connections or
315317
the :setting:`net.maxIncomingConnections` setting is reached.
316318

317-
.. versionadded:: 6.1
318-
319319
.. serverstatus:: connections.active
320320

321321
The number of active client connections to the server. Active client
@@ -1504,6 +1504,11 @@ metrics
15041504
totalOpened : Long("<num>")
15051505
}
15061506
},
1507+
network : { // Added in MongoDB 6.2
1508+
totalEgressConnectionEstablishmentTimeMillis : Long("<num>"),
1509+
totalIngressTLSConnections : Long("<num>"),
1510+
totalIngressTLSHandshakeTimeMillis : Long("<num>")
1511+
},
15071512
operation : {
15081513
scanAndOrder : Long("<num>"),
15091514
writeConflicts : Long("<num>")
@@ -2611,7 +2616,7 @@ network
26112616
"clientsWaitingForData" : <num>
26122617
}
26132618
},
2614-
"listenerProcessingTime" : { durationMicros: <num> } // Added in MongoDB 6.1
2619+
"listenerProcessingTime" : { durationMicros: <num> } // Added in MongoDB 6.2
26152620
}
26162621

26172622
.. serverstatus:: network
@@ -2794,15 +2799,15 @@ network
27942799

27952800
.. serverstatus:: network.listenerProcessingTime
27962801

2797-
.. versionadded:: 6.1
2802+
.. versionadded:: 6.2
27982803

27992804
A document that reports the total time the database listener spends
28002805
allocating incoming database connection requests to dedicated
28012806
threads.
28022807

28032808
.. serverstatus:: network.listenerProcessingTime.durationMicros
28042809

2805-
.. versionadded:: 6.1
2810+
.. versionadded:: 6.2
28062811

28072812
Total time in microseconds the database listener spends allocating
28082813
incoming database connection requests to dedicated threads that
@@ -5035,16 +5040,31 @@ transactions
50355040

50365041
.. serverstatus:: metrics.network
50375042

5038-
A document that reports the total time to establish server
5039-
connections.
5043+
.. versionadded:: 6.2
50405044

5041-
.. versionadded:: 6.1
5045+
A document that reports server network metrics.
50425046

50435047
.. serverstatus:: metrics.network.totalEgressConnectionEstablishmentTimeMillis
50445048

5049+
.. versionadded:: 6.2
5050+
50455051
The total time in milliseconds to establish server connections.
50465052

5047-
.. versionadded:: 6.1
5053+
.. serverstatus:: metrics.network.totalIngressTLSConnections
5054+
5055+
.. versionadded:: 6.2
5056+
5057+
The total number of incoming connections to the server that use TLS.
5058+
The number is cumulative and is the total after the server was
5059+
started.
5060+
5061+
.. serverstatus:: metrics.network.totalIngressTLSHandshakeTimeMillis
5062+
5063+
.. versionadded:: 6.2
5064+
5065+
The total time in milliseconds that incoming connections to the
5066+
server have to wait for the TLS network handshake to complete. The
5067+
number is cumulative and is the total after the server was started.
50485068

50495069
.. serverstatus:: transactions.retriedCommandsCount
50505070

source/reference/parameters.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,8 @@ General Parameters
10881088

10891089
.. parameter:: slowConnectionThresholdMillis
10901090

1091+
.. versionadded:: 6.2
1092+
10911093
*Default*: 100
10921094

10931095
|both|

source/release-notes/6.1.txt

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ results in a slower query than one without the option specified.
4747
For an example that uses the ``*UCP`` option, see
4848
:ref:`regex-example-pcre2-ucp`.
4949

50-
5150
General Changes
5251
---------------
5352

@@ -73,60 +72,6 @@ Improved Efficiency for Multiple Document Deletions
7372

7473
.. include:: /includes/multi-deletes.rst
7574

76-
``connPoolStats`` Metrics
77-
~~~~~~~~~~~~~~~~~~~~~~~~~
78-
79-
Starting in MongoDB 6.1, the :dbcommand:`connPoolStats` command has
80-
these output changes:
81-
82-
.. list-table::
83-
:header-rows: 1
84-
:widths: 50 50
85-
86-
* - Document
87-
- Field(s)
88-
89-
* - New :data:`connPoolStats.acquisitionWaitTimes` document that
90-
reports the wait times for requests to acquire a connection from
91-
:binary:`~bin.mongos` to :binary:`~bin.mongod`.
92-
- New fields:
93-
94-
- Time ranges with the number of connection requests in each
95-
range.
96-
- Total number of connection requests for all time ranges.
97-
98-
``serverStatus`` Metrics
99-
~~~~~~~~~~~~~~~~~~~~~~~~
100-
101-
Starting in MongoDB 6.1, the :dbcommand:`serverStatus` command and the
102-
:method:`db.serverStatus()` method have these output changes:
103-
104-
.. list-table::
105-
:header-rows: 1
106-
:widths: 50 50
107-
108-
* - Document
109-
- Field(s)
110-
111-
* - New :serverstatus:`network.listenerProcessingTime` document that
112-
reports the time the database listener spends allocating
113-
incoming database connection requests.
114-
- New field:
115-
116-
- :serverstatus:`network.listenerProcessingTime.durationMicros`
117-
118-
* - New :serverstatus:`metrics.network` document that reports the
119-
total time to establish server connections.
120-
- New field:
121-
122-
- :serverstatus:`metrics.network.totalEgressConnectionEstablishmentTimeMillis`
123-
124-
* - Addition to :serverstatus:`connections` document.
125-
- New field that reports the number of incoming connections the
126-
server has rejected.
127-
128-
- :serverstatus:`connections.rejected`
129-
13075
Storage Engine
13176
~~~~~~~~~~~~~~
13277

@@ -141,8 +86,6 @@ Starting in MongoDB 6.1, MongoDB adds the following new parameters:
14186
between retries after a write failure.
14287
- :parameter:`temporarilyUnavailableMaxRetries` limits the number of
14388
retries after a write failure.
144-
- :parameter:`slowConnectionThresholdMillis` sets the time limit to log
145-
the establishment of slow server connections.
14689

14790
Report an Issue
14891
---------------
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. _6.2-compatibility:
2+
3+
========================================================
4+
Compatibility Changes in MongoDB 6.2 (Release Candidate)
5+
========================================================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 1
13+
:class: singlecol
14+
15+
.. include:: /includes/in-dev.rst
16+
17+
This page describes changes introduced in MongoDB 6.2 that can affect
18+
compatibility with older versions of MongoDB.

source/release-notes/6.2.txt

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
.. _release-notes-6.2:
2+
3+
=================================================
4+
Release Notes for MongoDB 6.2 (Release Candidate)
5+
=================================================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 1
13+
:class: twocols
14+
15+
.. include:: /includes/in-dev.rst
16+
17+
General Changes
18+
---------------
19+
20+
``serverStatus`` Metrics
21+
~~~~~~~~~~~~~~~~~~~~~~~~
22+
23+
Starting in MongoDB 6.2, the :dbcommand:`serverStatus` command and the
24+
:method:`db.serverStatus()` method have these output changes:
25+
26+
.. list-table::
27+
:header-rows: 1
28+
:widths: 50 50
29+
30+
* - Document
31+
- Field(s)
32+
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`
39+
40+
* - 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`
45+
46+
* - New :serverstatus:`metrics.network` document that reports
47+
additional server network metrics.
48+
- Fields:
49+
50+
- :serverstatus:`metrics.network.totalEgressConnectionEstablishmentTimeMillis`
51+
- :serverstatus:`metrics.network.totalIngressTLSConnections`
52+
- :serverstatus:`metrics.network.totalIngressTLSHandshakeTimeMillis`
53+
54+
``connPoolStats`` Metrics
55+
~~~~~~~~~~~~~~~~~~~~~~~~~
56+
57+
Starting in MongoDB 6.2, the :dbcommand:`connPoolStats` command has
58+
these output changes:
59+
60+
.. list-table::
61+
:header-rows: 1
62+
:widths: 50 50
63+
64+
* - Document
65+
- Field(s)
66+
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.
75+
76+
Server Parameters
77+
-----------------
78+
79+
Starting in MongoDB 6.2, MongoDB adds the following new parameter:
80+
81+
- :parameter:`slowConnectionThresholdMillis` sets the time limit to log
82+
the establishment of slow server connections.
83+
84+
Report an Issue
85+
---------------
86+
87+
To report an issue, see
88+
https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports for
89+
instructions on how to file a JIRA ticket for the MongoDB server or one
90+
of the related projects.
91+
92+
.. toctree::
93+
:titlesonly:
94+
:hidden:
95+
96+
/release-notes/6.2-compatibility

0 commit comments

Comments
 (0)