Fix metricDeviceCount gauge name
Prometheus naming conventions reserve `_count` for the counter in histograms. For gauge values the naming convention is to use the plural of the thing being counted. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
parent
f5b403b5ba
commit
d5fb66c5f1
|
@ -48,7 +48,7 @@ var (
|
|||
nil,
|
||||
)
|
||||
metricDeviceCount = prometheus.NewDesc(
|
||||
"smartctl_device_count",
|
||||
"smartctl_devices",
|
||||
"Number of devices configured or dynamically discovered",
|
||||
[]string{},
|
||||
nil,
|
||||
|
|
Loading…
Reference in New Issue