-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
Storage Execution 2026-08-31, Storage Execution 2026-09-14
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Index builds emit metrics for in-progress index builds, however we should also track (using an OTel histogram) the overall duration of the index build, as well as attributes indicating the phase it was started from (either "initialized" or the resumed phase, if resumed) and the outcome (success, failure, or "to be resumed").
This should be accompanied by a (potentially refactored) log message that is emitted for all index builds, along with the index build UUID and collection UUID (and/or other identifying attributes).
The best place to do this may be in ActiveIndexBuilds::unregisterIndexBuild(..), in order to track all index builds as they terminate.
- is depended on by
-
SERVER-134094 Track index build keys/bytes written by start phase and outcome
-
- In Code Review
-
- related to
-
SERVER-134857 Display total index build duration by phase and outcome in grafana dashboard
-
- Closed
-