Skip to content

Commit

Permalink
Update collector/sbd/sbd.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Torresi <stefano@torresi.io>
  • Loading branch information
MalloZup and stefanotorresi authored Sep 3, 2020
1 parent 4663b26 commit 5c0ec06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/sbd/sbd.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (c *sbdCollector) CollectWithError(ch chan<- prometheus.Metric) error {

sbdWatchdogs, sbdMsgWaits := c.getSbdTimeouts(sbdDevices)
for sbdDev, sbdWatchdog := range sbdWatchdogs {
ch <- c.MakeGaugeMetric("sbd_timeouts", sbdWatchdog, sbdDev, "watchdog_timeout")
ch <- c.MakeGaugeMetric("timeouts", sbdWatchdog, sbdDev, "watchdog")
}

for sbdDev, sbdMsgWait := range sbdMsgWaits {
Expand Down

0 comments on commit 5c0ec06

Please sign in to comment.