mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-16 01:33:07 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ var (
|
||||||
nil,
|
nil,
|
||||||
)
|
)
|
||||||
metricDeviceCount = prometheus.NewDesc(
|
metricDeviceCount = prometheus.NewDesc(
|
||||||
"smartctl_device_count",
|
"smartctl_devices",
|
||||||
"Number of devices configured or dynamically discovered",
|
"Number of devices configured or dynamically discovered",
|
||||||
[]string{},
|
[]string{},
|
||||||
nil,
|
nil,
|
||||||
|
|
Loading…
Reference in a new issue