You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
storage: aggregate compaction_ratio metric across partitions
Although it is a bit more natural to leave this unaggregated to determine
the compaction ratio of a log/partition rather than a topic, the cardinality
of this metric is much too high, and its usefulness does not justify the cost.
Because this is aggregated, it is now a sum, meaning to recover the average
compaction ratio for a topic, we must divide by the number of partitions in
Grafana, e.g.
```
sum(compaction_ratio) by (topic) / count(compaction_ratio) by (topic)
```
0 commit comments