-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2026-03-30, QE 2026-04-13
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Add two new change stream cursor stats to serverStatus output on mongoS:
- metrics.changeStreams.cursor.totalOpened (counter)
- Cumulative number of change stream cursors opened on the router process.
- This metric can be used to calculate change stream cursor opening rate. A constantly high rate indicates possible improper use or other problems.
- metrics.changeStreams.cursor.lifespanMicros.avg (gauge)
- Average change stream cursor lifespan (duration in microseconds between opening and closing) on the router process.
- Many short-lived cursors and many resumes might indicate improper use or other problems.
- depends on
-
SERVER-122507 Extend change stream cursor serverStatus metrics on mongoD
-
- Closed
-
- is depended on by
-
SERVER-123063 Adjust cursor serverStatus metrics on mongoS to use new OTEL API
-
- Open
-
- is related to
-
SERVER-122507 Extend change stream cursor serverStatus metrics on mongoD
-
- Closed
-