Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13778

Investigate changes in SERVER-44586: add metrics to serverStatus to track type of update command

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

            Assignee:
            dave.cuthbert@mongodb.com Dave Cuthbert (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 23 weeks, 1 day ago