jenningsloy318 / redfish_exporter

exporter to get metrics from redfish based hardware such as lenovo/dell/superc servers
Apache License 2.0
70 stars 61 forks source link

redfish_up add error label #79

Open valdemarpavesi opened 8 months ago

valdemarpavesi commented 8 months ago

Hello,

Thanks for your project. Is it possible to add on redfish_up the return error code as a label?

only the clean part of the error, like "no auth", "no route to destination" to avoid high metric cardinality.

I did test it, it is working.