Investigate changes in SERVER-130705: Add change stream process-level docsExamined and bytesRead metrics on mongoS

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator
    • 15

      Original Downstream Change Summary

      This change adds the two following change stream specific throughput metrics on mongoS:

      • *metrics.changeStreams.cursor.bytesRead* (counter): Shows the
        cumulative amount of scanned oplog in bytes by all change stream
        cursors.
      • *metrics.changeStreams.cursor.docsExamined* (counter): Shows the
        cumulative number of scanned oplog entries by all change stream cursors.

      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.docsExamined
      • metrics.changeStreams.cursor.bytesRead

      Design notes:

      • The docsExamined and bytesRead should be aggregated from shards in AsyncResultsMerger (similar to what we already do for $queryStats)

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

              Created:
              Updated: