Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gauge metric to help debug LevelDB compactions? #27497

Closed
Aracki opened this issue Jun 16, 2023 · 4 comments
Closed

Gauge metric to help debug LevelDB compactions? #27497

Aracki opened this issue Jun 16, 2023 · 4 comments

Comments

@Aracki
Copy link
Contributor

Aracki commented Jun 16, 2023

Rationale

We have only eth_db_chaindata_compact_nonlevel0 & eth_db_chaindata_compact_level0 regarding LevelDB compaction levels.

It would be helpful to have the gauge metric which would represent the current number of L0, L1, L2,... tables.
Now it can be monitored only within LevelDB logs.

e.g.

17:32:48.421253 table@move L3@151145047 -> L4
17:32:48.501054 version@stat F·[25 380 3851 38027 101486 656155 3398169] S·7TiB[96GiB 768MiB 7GiB 75GiB 150GiB 976GiB 6TiB] Sc·[6.25 7.68 7.69 7.69 1.54 1.00 0.67]

Tasks

No tasks being tracked yet.
@rjl493456442
Copy link
Member

Reasonable request, would you like to submit a PR for it?

@Aracki
Copy link
Contributor Author

Aracki commented Jun 21, 2023

I would be happy to help if I find time. It's good to hear there are reasons to add it. 🤞

@vvarl0cks
Copy link

let's see.

@rjl493456442
Copy link
Member

It's merged in #27643

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants