node_exporter/collector/fixtures/ethtool
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
..
bond0 ethtool: Expose node_ethtool_info metric 2021-08-16 16:09:35 +02:00
eth0 Fix ethtool returning 0 for sanitized metrics (#3335) 2025-05-19 11:41:17 +02:00