Use lowercase cpu label name in interrupts (#849)
To match other CPU related metric labels, use a lowercase named label.
This commit is contained in:
parent
424ca8e322
commit
7b720df1c5
4 changed files with 226 additions and 226 deletions
|
|
@ -28,7 +28,7 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
interruptLabelNames = []string{"CPU", "type", "info", "devices"}
|
||||
interruptLabelNames = []string{"cpu", "type", "info", "devices"}
|
||||
)
|
||||
|
||||
func (c *interruptsCollector) Update(ch chan<- prometheus.Metric) (err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue