-
Type:
Investigation
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Tools and Replicator
Original Downstream Change Summary
This adds 3 new metrics to serverStatus().metrics.ttl:
- deletedKeys: Specifies number of index keys deleted by the TTL monitor
- examinedDocuments: Specifies the number of documents looked at by the TTL monitor
- examinedKeys: Specifies the number of index keys looked at by the TTL monitor
- durationMicros: Specifies the cumulative amount of time, in microseconds, that the TTL monitor has spent deleting expired documents and index keys.
Description of Linked Ticket
It may be useful to have more metrics around TTL deletes in serverStatus so that we don't have to rely on log lines to diagnose behavior related to it. For instance, like described in
SERVER-100003, we can consider including the number of index keys deleted which is an indicator of the amount of work the TTL monitor is doing.
- depends on
-
SERVER-105975 More TTL metrics in serverStatus
-
- Closed
-