From 053db591224505c18b5b3cd996bb90ed40eaee4c Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Wed, 9 Jul 2014 18:47:17 +0200 Subject: [PATCH] Change metric prefix from raid to megacli --- collector/megacli.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collector/megacli.go b/collector/megacli.go index e80c129f..27810f42 100644 --- a/collector/megacli.go +++ b/collector/megacli.go @@ -20,19 +20,19 @@ const ( var ( driveTemperature = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Namespace: Namespace, - Name: "raid_drive_temperature_celsius", + Name: "megacli_drive_temperature_celsius", Help: "megacli: drive temperature", }, []string{"enclosure", "slot"}) driveCounters = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: Namespace, - Name: "raid_drive_count", + Name: "megacli_drive_count", Help: "megacli: drive error and event counters", }, []string{"enclosure", "slot", "type"}) drivePresence = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Namespace: Namespace, - Name: "raid_adapter_disk_presence", + Name: "megacli_adapter_disk_presence", Help: "megacli: disk presence per adapter", }, []string{"type"})