-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
Added new metrics to the output of the serverStatus command. Change summary: (a) new metric at path "metrics.commands.findAndModify.pipeline" to count invocations of findAndModify command that use aggregation pipeline-style update; (b) new metric at path "metrics.commands.findAndModify.arrayFilters" to count invocations of findAndModify command that use arrayFilters option; (c) new metric at path "metrics.commands.update.pipeline" to count invocations of update command that use aggregation pipeline-style update; (d) new metric at path "metrics.commands.update.arrayFilters" to count invocations of update command that use arrayFilters option. Semantics of old command related total and failed metrics does not change. Flagging for review.
Description of Linked Ticket
Currently serverStatus command includes number of update commands run, and number of documents updated. It would be great to have separately the number of update commands that used pipeline (as opposed to document) syntax to specify update transformation.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- backported by
-
DOCS-13928 [BACKPORT] [v4.2] add metrics to serverStatus to track type of update command
- Closed
- documents
-
SERVER-44586 add metrics to serverStatus to track type of update command
- Closed