[DOCS-13778] Investigate changes in SERVER-44586: add metrics to serverStatus to track type of update command Created: 21/Jul/20  Updated: 13/Nov/23  Resolved: 02/Nov/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.2, 4.2.11, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Dave Cuthbert (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by DOCS-13928 [BACKPORT] [v4.2] add metrics to serv... Closed
Documented
documents SERVER-44586 add metrics to serverStatus to track ... Closed
Participants:
Days since reply: 3 years, 12 weeks ago
Epic Link: DOCSP-9747
Story Points: 3

 Description   

Description

Downstream Change Summary

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.)



 Comments   
Comment by Githook User [ 18/Nov/20 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-13778 Add pipeline, arrayFilters metrics to serverStatus
Branch: master
https://github.com/mongodb/docs/commit/eaec9b0c12e41fba66fd7374af6dda24b8b263ad

Comment by Githook User [ 11/Nov/20 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-13778 Add pipeline, arrayFilters metrics to serverStatus
Branch: v4.4.2
https://github.com/mongodb/docs/commit/c2ce2f5de29ceca6ddb6cc788460f1f2b613559d

Comment by Githook User [ 09/Nov/20 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-13778 Add pipeline, arrayFilters metrics to serverStatus
Branch: master
https://github.com/mongodb/docs/commit/fa936e18a0eaa987e2800286fd87b2e3c243e05c

Comment by Githook User [ 30/Oct/20 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-13778 Add pipeline, arrayFilters metrics to serverStatus
Branch: v5.0
https://github.com/mongodb/docs/commit/88e9e32a97de2c1b13f560fdfca9421f333be829

Generated at Thu Feb 08 08:08:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.