mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-11 19:31:04 +01:00
Change metric prefix from raid to megacli
This commit is contained in:
parent
50c66918d8
commit
053db59122
@ -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"})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user