mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-12-21 02:21:55 +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,
|
||||
)
|
||||
metricDeviceCount = prometheus.NewDesc(
|
||||
"smartctl_device_count",
|
||||
"smartctl_devices",
|
||||
"Number of devices configured or dynamically discovered",
|
||||
[]string{},
|
||||
nil,
|
||||
|
|
Loading…
Reference in a new issue