Merge pull request #1171 from breed808/diskdrive_name
fix!: Set correct diskdrive collector/metric name
This commit is contained in:
commit
4e02053f13
|
@ -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