influxdata / influxdata/influxdb
[Port to 2.x]: feat: Add DefaultPlanner stats to Engine stats (#27523)
Open
area/2.x
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Port master-1.x commit https://github.com/influxdata/influxdb/commit/f7b4c473be to main-2.x.
Adds planner counters (FindGenerations, Plan, PlanLevel, PlanOptimize) to the engine statistics. 2.x uses prometheus metrics instead of `Statistics()`; add the counters to the existing compaction metrics in `tsdb/engine/tsm1/engine.go`.
Contributor guide
Assessment
This issue has not been assessed yet.