Skip to content

Commit

Permalink
fix nats_core_account_msgs_recv metric (#195)
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Lloyd <[email protected]>
  • Loading branch information
caleblloyd authored Apr 4, 2024
1 parent 11fd40f commit 2c08643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surveyor/collector_statz.go
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ func (sc *StatzCollector) Collect(ch chan<- prometheus.Metric) {
metrics.newCounterMetric(sc.descs.accBytesSent, float64(as.Data.Sent.Bytes), serverAndAccLabels)
metrics.newCounterMetric(sc.descs.accBytesRecv, float64(as.Data.Received.Bytes), serverAndAccLabels)
metrics.newCounterMetric(sc.descs.accMsgsSent, float64(as.Data.Sent.Msgs), serverAndAccLabels)
metrics.newCounterMetric(sc.descs.accMsgsRecv, float64(as.Data.Sent.Bytes), serverAndAccLabels)
metrics.newCounterMetric(sc.descs.accMsgsRecv, float64(as.Data.Received.Msgs), serverAndAccLabels)
}

metrics.newGaugeMetric(sc.descs.accJetstreamEnabled, stat.jetstreamEnabled, accLabels)
Expand Down

0 comments on commit 2c08643

Please sign in to comment.