lovoo / ipmi_exporter

IPMI Exporter for prometheus.io, written in Go.
BSD 3-Clause "New" or "Revised" License
80 stars 32 forks source link

Add replacement of '/' with '_' for metric names #15

Closed mlamina closed 7 years ago

mlamina commented 7 years ago

I tried to use the IPMI exporter, but encountered an error. Apparently it tried to create a metric description that contained the string "I/O". Since Prometheus does not allow the character "/" in metric names, I replaced it with an underscore.

0x46616c6b commented 7 years ago

@mlamina can you add your IPMI Output (example with "/" in label name) to the testcases? So we prevent regression in future.