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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 4.7.0, 4.4.2, 4.2.11
    • manual, Server
    • None
    • 3
    • ServerDocs2020: Sep28 - Oct5, ServerDocs2020: Oct5 - Oct12, ServerDocs2020: Oct13 - Oct19, ServerDocs2020: Oct20 - Oct27, ServerDocs2020: Oct27 - Nov3, ServerDocs2020: Nov3 - Nov 10
    • true

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 38 weeks, 2 days ago