Change metric prefix from raid to megacli

This commit is contained in:
Johannes 'fish' Ziemke 2014-07-09 18:47:17 +02:00
parent 50c66918d8
commit 053db59122

View File

@ -20,19 +20,19 @@ const (
var ( var (
driveTemperature = prometheus.NewGaugeVec(prometheus.GaugeOpts{ driveTemperature = prometheus.NewGaugeVec(prometheus.GaugeOpts{
Namespace: Namespace, Namespace: Namespace,
Name: "raid_drive_temperature_celsius", Name: "megacli_drive_temperature_celsius",
Help: "megacli: drive temperature", Help: "megacli: drive temperature",
}, []string{"enclosure", "slot"}) }, []string{"enclosure", "slot"})
driveCounters = prometheus.NewCounterVec(prometheus.CounterOpts{ driveCounters = prometheus.NewCounterVec(prometheus.CounterOpts{
Namespace: Namespace, Namespace: Namespace,
Name: "raid_drive_count", Name: "megacli_drive_count",
Help: "megacli: drive error and event counters", Help: "megacli: drive error and event counters",
}, []string{"enclosure", "slot", "type"}) }, []string{"enclosure", "slot", "type"})
drivePresence = prometheus.NewGaugeVec(prometheus.GaugeOpts{ drivePresence = prometheus.NewGaugeVec(prometheus.GaugeOpts{
Namespace: Namespace, Namespace: Namespace,
Name: "raid_adapter_disk_presence", Name: "megacli_adapter_disk_presence",
Help: "megacli: disk presence per adapter", Help: "megacli: disk presence per adapter",
}, []string{"type"}) }, []string{"type"})