File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -4161,12 +4161,24 @@ metrics
4161
4161
4162
4162
*New in version 4.4 (4.2.6 and 4.0.19).*
4163
4163
4164
+ .. serverstatus:: metrics.operatorCounters.expressions
4165
+
4166
+ A document with a number that indicates how often
4167
+ :ref:`aggregation-expression-operators` ran.
4168
+
4169
+ To get metrics for a specific operator, such as the greater-than
4170
+ operator (:expression:`$gt`), append the operator to the command:
4171
+
4172
+ .. code-block:: javascript
4173
+
4174
+ db.runCommand( { serverStatus: 1 } ).metrics.operatorCounters.expressions.$gt
4175
+
4176
+ *Updated in version 4.4.13*
4177
+
4164
4178
.. serverstatus:: metrics.operatorCounters.match
4165
4179
4166
4180
A document with a number that indicates how often
4167
- :ref:`match expressions <query-projection-operators-top>` ran. For
4168
- some operators, the number reported is a multiple of the times the
4169
- operator actually ran.
4181
+ :ref:`match expressions <query-projection-operators-top>` ran.
4170
4182
4171
4183
:ref:`Match expression operators <query-projection-operators-top>`
4172
4184
also increment as part of an aggregation pipeline :pipeline:`$match`
You can’t perform that action at this time.
0 commit comments