node_exporter/collector/fixtures/ethtool/eth0
Guillaume E. 45eb59d29e
Fix ethtool returning 0 for sanitized metrics (#3335)
The ethtool_linux looks for ethtool stats with their sanitized name
which might be different from the name provisioned by ethtool.

This caused node-exporter to return a 0-value for sanitized metrics.

This patch works-around the missing key by copying ethtool stats
to another map under their sanitized name.

Signed-off-by: Guillaume Espanel <guillaume.espanel@ovhcloud.com>
Co-authored-by: Guillaume Espanel <guillaume.espanel@ovhcloud.com>
2025-05-19 11:41:17 +02:00
..
driver ethtool: Expose node_ethtool_info metric 2021-08-16 16:09:35 +02:00
settings ethtool: add newline to settings fixture. 2021-10-20 19:11:30 +02:00
statistics Fix ethtool returning 0 for sanitized metrics (#3335) 2025-05-19 11:41:17 +02:00