Skip to content

Commit

Permalink
capital R in tier
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Lloyd <[email protected]>
  • Loading branch information
Caleb Lloyd committed Oct 25, 2023
1 parent 141e7c3 commit a91ebe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surveyor/collector_statz.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a91ebe6

Please sign in to comment.