mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-08-20 18:33:52 -07:00
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> |
||
|---|---|---|
| .. | ||
| ethtool | ||
| proc | ||
| qdisc | ||
| textfile | ||
| usr/lib | ||
| wifi | ||
| e2e-64k-page-output.txt | ||
| e2e-output-darwin.txt | ||
| e2e-output-dragonfly.txt | ||
| e2e-output-freebsd.txt | ||
| e2e-output-netbsd.txt | ||
| e2e-output-openbsd.txt | ||
| e2e-output-solaris.txt | ||
| e2e-output.txt | ||
| ip_vs_result.txt | ||
| ip_vs_result_lbs_local_address_local_port.txt | ||
| ip_vs_result_lbs_local_port.txt | ||
| ip_vs_result_lbs_none.txt | ||
| sys.ttar | ||
| udev.ttar | ||