lovoo / ipmi_exporter

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

Disabling raw sensors on first failed query attempt #21

Closed teran closed 7 years ago

teran commented 7 years ago

To do not inquery BMC for stuff it doesn't support and to do not slow down metrics handler performance for nothings raw queries are becoming disabled if their first grab attempt failed. Flag to enable/disable raw query is per-sensor, so it's gonna work for each sensor separately.

Signed-off-by: Igor Shishkin me@teran.ru

teran commented 7 years ago

@mjtrangoni That's normally could depend on BMC firmware version, so it could work or not. Anyway this PR fixes an issue with querying for not supported metrics form BMC.