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 (
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"})