hiero-ledger / hiero-ledger/hiero-consensus-node

Revisit files and compactions metrics in MerkleDb

Open
#24,565 0 comments 0 reactions 2 assignees Claimed by @imalygin View on GitHub
Observability Platform Platform Virtual Map
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

This is a follow-up for https://github.com/hiero-ledger/hiero-consensus-node/issues/23987 and related issues.

MerkleDb metrics are somewhat messy today. There are several categories (files, reads, compactions, etc.), some labels are encoded in metric names (we now have support for explicit metric labels). Besides that, with data file compaction v3, some metrics will become obsolete or questionable, like time spent compacting some level - there may be many compaction jobs handling the same level, which one of them to report?

"Files" metrics need a rework, too. File levels should be extracted to metric labels, for example.

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.