Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: add storage.compactions.duration timeseries metric
Add a new storage.compactions.duration metric that describes the cumulative time spent in compactions since process start. This may be used to calculate the effective compaction concurrency over an interval. See cockroachdb/pebble#1934. Epic: none Release note (ops change): exposes a new metric `storage.compactions.duration` computed by the storage engine that provides the cumulative time the storage engine has spent in compactions. This duration may exceed time elapsed, because of concurrent compactions and may be useful in monitoring compaction concurrency.
- Loading branch information