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
|
|
@ -95,7 +95,7 @@ sysctl_intr(struct intr *intr, int idx)
|
|||
import "C"
|
||||
|
||||
var (
|
||||
interruptLabelNames = []string{"CPU", "type", "devices"}
|
||||
interruptLabelNames = []string{"cpu", "type", "devices"}
|
||||
)
|
||||
|
||||
func (c *interruptsCollector) Update(ch chan<- prometheus.Metric) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue