-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
Description
I'm trying to setup a dashboard for our lnd node with lndmon and I am running into an issue that the lnd_peer_count metric type is a counter instead of a gauge.
To me it seems this value can go and and down and thus a gauge is better suited.
Thanks for clarifying!
lndmon/collectors/peer_collector.go
Line 98 in d0d214c
| p.peerCountDesc, prometheus.CounterValue, |
ch <- prometheus.MustNewConstMetric(
p.peerCountDesc, prometheus.CounterValue,
float64(len(listPeersResp)),
)