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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.7.0, 4.4.2, 4.2.11
    • Component/s: manual, Server
    • Labels:
      None
    • Last comment by Customer:
      true
    • Story Points:
      3
    • Sprint:
      ServerDocs2020: Sep28 - Oct5, ServerDocs2020: Oct5 - Oct12, ServerDocs2020: Oct13 - Oct19, ServerDocs2020: Oct20 - Oct27, ServerDocs2020: Oct27 - Nov3, ServerDocs2020: Nov3 - Nov 10

      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

              Assignee:
              dave.cuthbert Dave Cuthbert
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Githook User Githook User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                48 weeks ago
                Date of 1st Reply: