-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Change streams
-
None
-
Query Execution
-
Fully Compatible
-
QE 2026-03-30
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Add two new change stream cursor stats to serverStatus output on mongoD:
- metrics.changeStreams.cursor.totalOpened (counter)
- Cumulative number of change stream cursors opened on the shard 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 shard process.
- Many short-lived cursors and many resumes might indicate improper use or other problems.
- is depended on by
-
SERVER-123062 Adjust cursor serverStatus metrics on mongoD to use new OTEL API
-
- Open
-
-
SERVER-122614 Add change stream cursor serverStatus metrics on mongoS
-
- In Code Review
-
- related to
-
SERVER-122614 Add change stream cursor serverStatus metrics on mongoS
-
- In Code Review
-