maintainability
values()` returns `[sweep_bytes_reclaimed, sweep_blobs_removed]` in that order, but `COUNTERS` (lines 50-57) declares the names in the opposite order — `sweep_blobs_removed_total` then… values()` returns `[sweep_bytes_reclaimed, sweep_blobs_removed]` in that order, but `COUNTERS` (lines 50-57) declares the names in the opposite order — `sweep_blobs_removed_total` then `sweep_bytes_reclaimed_total`. The `render()` method zips `COUNTERS` with `values()` positionally, so the "blobs removed" counter will be rendered with the "bytes reclaimed" help text and value, and vice versa. Every Prometheus scrape will mislabel these two metrics.
services/proxy/src/metrics.rs:94-95
Evidence quote
Not recorded
Suggested fix
Not recorded