fix!: Set correct diskdrive collector/metric name
Previous name did not match documentation and WMI class. Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
parent
49afc93d93
commit
535f041423
|
@ -26,7 +26,7 @@ type DiskDriveInfoCollector struct {
|
|||
}
|
||||
|
||||
func newDiskDriveInfoCollector() (Collector, error) {
|
||||
const subsystem = "disk_drive"
|
||||
const subsystem = "diskdrive"
|
||||
|
||||
return &DiskDriveInfoCollector{
|
||||
DiskInfo: prometheus.NewDesc(
|
||||
|
|
|
@ -82,7 +82,7 @@ var collectors = []collectorInit{
|
|||
perfCounterNames: nil,
|
||||
},
|
||||
{
|
||||
name: "disk_drive",
|
||||
name: "diskdrive",
|
||||
builder: newDiskDriveInfoCollector,
|
||||
perfCounterNames: nil,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue