influxdata / influxdata/influxdb

[Port to 2.x]: feat: Add DefaultPlanner stats to Engine stats (#27523)

Open
#27,633 0 comments 0 reactions 1 assignee Claimed by @devanbenz View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.