Skip to content

Commit 1bf217a

Browse files
author
Dave
authored
DOCS-14895 BACKPORT (#549)
1 parent c88dbbf commit 1bf217a

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

source/reference/command/serverStatus.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5050,6 +5050,7 @@ metrics
50505050
has been executed.
50515051

50525052
*New in version 4.4 (4.2.6 and 4.0.19).*
5053+
*Updated in version 5.2 (and 5.0.6).*
50535054

50545055
.. _server-status-apiVersions:
50555056

@@ -5084,9 +5085,7 @@ metrics
50845085
.. serverstatus:: metrics.operatorCounters
50855086

50865087
A document with a number that indicates how often
5087-
:ref:`aggregation-expression-operators` ran. For some operators, the
5088-
number reported is a multiple of the times the operator actually
5089-
ran.
5088+
:ref:`aggregation-expression-operators` ran.
50905089

50915090
To get metrics for a specific operator, such as the greater-than
50925091
operator (:expression:`$gt`), append the operator to the command:
@@ -5100,9 +5099,7 @@ metrics
51005099
.. serverstatus:: metrics.operatorCounters.match
51015100

51025101
A document with a number that indicates how often
5103-
:ref:`match expressions <query-projection-operators-top>` ran. For
5104-
some operators, the number reported is a multiple of the times the
5105-
operator actually ran.
5102+
:ref:`match expressions <query-projection-operators-top>` ran.
51065103

51075104
:ref:`Match expression operators <query-projection-operators-top>`
51085105
also increment as part of an aggregation pipeline :pipeline:`$match`

source/release-notes/5.2.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ Starting in MongoDB 5.2, you can convert timestamps to dates using the
102102
:expression:`$convert` operator. The :expression:`$toDate` operator can
103103
also convert timestamps.
104104

105+
Improved Precision for Operator Counters
106+
````````````````````````````````````````
107+
108+
Starting in MongoDB 5.2 and 5.0.6, :serverstatus:`aggregation operator
109+
metrics <metrics.operatorCounters>` are more precise: internal
110+
processing does not inflate the counters.
111+
105112
|sbe-title| Can Execute :pipeline:`$group` Stages
106113
`````````````````````````````````````````````````
107114

0 commit comments

Comments
 (0)