Investigate changes in SERVER-129639: Add change stream process-level throughput metrics on mongoS

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator

      Original Downstream Change Summary

      This change adds the following 3 stream process-level throughput metrics on mongoS:

      • *metrics.changeStreams.cursor.docsReturned* (counter): Shows the cumulative number of returned change events by all change stream cursors.
      • *metrics.changeStreams.cursor.bytesReturned* (counter): Shows the cumulative amount in bytes returned by all change stream cursors.
      • *metrics.changeStreams.cursor.batchesReturned* (counter): Shows the cumulative number of batches returned by all change streams.

        Description of Linked Ticket

        Add change stream specific throughput metrics on mongoS (see project design document section "Decision: Process-Level Change Stream Cursor Metrics / Throughput"):

      • metrics.changeStreams.cursor.docsReturned(already exists for query stats)
      • metrics.changeStreams.cursor.bytesReturned
      • metrics.changeStreams.cursor.batchesReturned(already exists for query stats)

      Design notes:

      • The docsReturned, bytesReturned, and batchesReturned should come from mongoS (router) pipeline creating the batches.

            Assignee:
            Unassigned
            Reporter:
            Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: