influxdata / influxdata/influxdb

tsi index add useful statistic

Open
#9,707 3 comments 0 reactions 0 assignees View on GitHub
1.x kind/feature-request
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

### Feature Request

__Proposal:
- we use tsi1 as our metric index, however tsi index lack of statistics, may be tsl size, compact time, tsi memory size and so on

__Current behavior:
- tsi, partition, log_file lack of statistics

__Desired behavior:
- add statistics for tsi and tsi partition, help for trouble shotting

__Use case:
- help us find tsi memory too high problem

Contributor guide

Open the contributing guide

Research direction

Begin by locating the TSI index and partition implementations and reviewing how existing index statistics are exposed. Define the required TSI and partition statistics, including size, compaction time, and memory usage, then add coverage showing they support diagnosing high TSI memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.