node_exporter/collector/fixtures/ethtool/eth0
Guillaume E. f3de6d8b74 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>
Signed-off-by: Shashwat Hiregoudar <shashwat.h@flipkart.com>
2025-06-17 17:34:52 +05:30
..
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-06-17 17:34:52 +05:30