Differentiate oplog operations in serverStatus query metrics

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • QE 2024-11-25, QE 2024-12-09, QE 2024-12-23, QE 2025-01-06, QE 2025-01-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Presently operations against the oplog (eg Change Streams) increment various serverStatus metrics such as queryExecutor.scannedObjects and document.returned. We should separate out reporting of this work into its own metric so that downstream consumers can better attribute the sources. Bonus points if we can further differentiate between internal and external callers for the oplog operations.

      Note: if queryExecutor.scanned or other metrics are also incremented by these operations then those should be included in this change as well.

            Assignee:
            Daniel Tabacaru
            Reporter:
            Chris Harris
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: