Add change stream process-level docsExamined and bytesRead metrics on mongoS

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-07-20
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Athena Wang
            Reporter:
            Athena Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: