From a91ebe645e4d20afad10abf99335dc1351e5549b Mon Sep 17 00:00:00 2001 From: Caleb Lloyd Date: Wed, 25 Oct 2023 11:13:08 -0400 Subject: [PATCH] capital R in tier Signed-off-by: Caleb Lloyd --- surveyor/collector_statz.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/surveyor/collector_statz.go b/surveyor/collector_statz.go index c21762f..d837822 100644 --- a/surveyor/collector_statz.go +++ b/surveyor/collector_statz.go @@ -1019,10 +1019,10 @@ func (sc *StatzCollector) Collect(ch chan<- prometheus.Metric) { ch <- newGaugeMetric(sc.descs.accJetstreamMemoryUsed, stat.jetstreamMemoryUsed, id) ch <- newGaugeMetric(sc.descs.accJetstreamStorageUsed, stat.jetstreamStorageUsed, id) for tier, size := range stat.jetstreamTieredMemoryUsed { - ch <- newGaugeMetric(sc.descs.accJetstreamTieredMemoryUsed, size, append(id, fmt.Sprintf("r%d", tier))) + ch <- newGaugeMetric(sc.descs.accJetstreamTieredMemoryUsed, size, append(id, fmt.Sprintf("R%d", tier))) } for tier, size := range stat.jetstreamTieredStorageUsed { - ch <- newGaugeMetric(sc.descs.accJetstreamTieredStorageUsed, size, append(id, fmt.Sprintf("r%d", tier))) + ch <- newGaugeMetric(sc.descs.accJetstreamTieredStorageUsed, size, append(id, fmt.Sprintf("R%d", tier))) } ch <- newGaugeMetric(sc.descs.accJetstreamMemoryReserved, stat.jetstreamMemoryReserved, id) ch <- newGaugeMetric(sc.descs.accJetstreamStorageReserved, stat.jetstreamStorageReserved, id)