Extend change stream current cursors serverStatus metrics on mongoS (total and pinned)

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-04-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, serverStatus command contain general cursor metrics under metrics.mongos.cursor path.

      We want to count change stream cursors separately. The new metrics for change stream cursors on mongos should appear in serverStatus command response under metrics.changeStreams.cursor.

      The metrics to be added within this ticket are:

      • metrics.changeStreams.cursor.open.total
      • metrics.changeStreams.cursor.open.pinned

            Assignee:
            Lyublena Antova
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: