node_exporter/collector
Ben Kochie b3bbd1f52c Sanitize ethtool metric name keys
Apply the same metric name sanitization to the keys as to the metric
names. This avoids conflicting help strings in the metric registry.

Fixes: https://github.com/prometheus/node_exporter/issues/2893

Signed-off-by: Ben Kochie <superq@gmail.com>
2024-03-21 12:09:01 +01:00
..
fixtures Add new collector and metrics for watchdog (#2309) (#2880) 2024-03-09 10:00:06 +01:00
fixtures_bindmount/proc
fixtures_hidepid/proc
arp_linux.go
bcache_linux.go
bonding_linux.go
bonding_linux_test.go
boot_time_bsd.go
boot_time_solaris.go
btrfs_linux.go
btrfs_linux_test.go
buddyinfo.go
cgroups_linux.go
collector.go
conntrack_linux.go
cpu_common.go
cpu_darwin.go
cpu_dragonfly.go
cpu_dragonfly_test.go
cpu_freebsd.go
cpu_linux.go
cpu_linux_test.go
cpu_netbsd.go
cpu_netbsd_test.go
cpu_openbsd.go
cpu_solaris.go
cpu_vulnerabilities_linux.go Add mitigation information to the linux vulnerabilities collector (#2806) 2023-12-14 13:15:27 +01:00
cpufreq_common.go
cpufreq_linux.go
cpufreq_solaris.go
device_filter.go
device_filter_test.go
devstat_dragonfly.go
devstat_freebsd.c
devstat_freebsd.go
devstat_freebsd.h
diskstats_common.go
diskstats_darwin.go
diskstats_linux.go diskstats: ignore zram devices on linux systems by default (#2898) 2024-01-15 09:32:58 +01:00
diskstats_linux_test.go diskstats: ignore zram devices on linux systems by default (#2898) 2024-01-15 09:32:58 +01:00
diskstats_openbsd.go
diskstats_openbsd_amd64.go
dmi.go
drbd_linux.go
drm_linux.go
edac_linux.go
entropy_linux.go
ethtool_linux.go Sanitize ethtool metric name keys 2024-03-21 12:09:01 +01:00
ethtool_linux_test.go
exec_bsd.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
fibrechannel_linux.go
filefd_linux.go
filefd_linux_test.go
filesystem_bsd.go
filesystem_common.go filesystem: surface device errors (#2923) 2024-02-18 12:04:30 +01:00
filesystem_freebsd.go
filesystem_linux.go Revert "filesystem: fix mountTimeout not working issue (#2903)" (#2932) 2024-02-20 10:31:08 +01:00
filesystem_linux_test.go
filesystem_openbsd.go
helper.go
helper_test.go
hwmon_linux.go Fix hwmon error capture (#2915) 2024-02-07 15:06:24 +01:00
infiniband_linux.go
interrupts_common.go
interrupts_linux.go
interrupts_linux_test.go
interrupts_openbsd.go
interrupts_openbsd_amd64.go
ipvs_linux.go
ipvs_linux_test.go
ksmd_linux.go
kvm_bsd.c
kvm_bsd.go
kvm_bsd.h
lnstat_linux.go
loadavg.go
loadavg_bsd.go
loadavg_linux.go
loadavg_linux_test.go
loadavg_solaris.go
logind_linux.go
logind_linux_test.go
mdadm_linux.go
meminfo.go
meminfo_darwin.go
meminfo_linux.go
meminfo_linux_test.go
meminfo_netbsd.go
meminfo_numa_linux.go
meminfo_numa_linux_test.go
meminfo_openbsd.go
meminfo_openbsd_amd64.go
memory_bsd.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
mountstats_linux.go
netclass_linux.go
netclass_rtnl_linux.go
netdev_bsd.go
netdev_common.go
netdev_darwin.go
netdev_linux.go
netdev_linux_test.go
netdev_openbsd.go
netdev_openbsd_amd64.go
netisr_freebsd.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
netstat_linux.go Add TCPOFOQueue to default netstat metrics (#2867) 2023-12-08 18:24:07 +01:00
netstat_linux_test.go
network_route_linux.go
nfs_linux.go
nfsd_linux.go
ntp.go
nvme_linux.go
os_release.go
os_release_test.go
paths.go
paths_test.go
perf_linux.go
perf_linux_test.go
powersupplyclass.go
powersupplyclass_darwin.go
powersupplyclass_linux.go
pressure_linux.go
processes_linux.go
processes_linux_test.go
qdisc_linux.go
rapl_linux.go
runit.go
schedstat_linux.go
selinux_linux.go
slabinfo_linux.go
sockstat_linux.go
softirq_linux.go
softirqs_common.go
softnet_linux.go
stat_linux.go
supervisord.go
sysctl_bsd.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
sysctl_linux.go
sysctl_openbsd_amd64.go
systemd_linux.go
systemd_linux_test.go
tapestats_linux.go
tcpstat_linux.go
tcpstat_linux_test.go
textfile.go
textfile_test.go
thermal_darwin.go
thermal_zone_linux.go
time.go
time_linux.go
time_other.go
timex.go chore:remove constant from function (#2884) 2024-01-29 13:09:38 +01:00
udp_queues_linux.go
uname.go
uname_bsd.go
uname_linux.go
vmstat_linux.go
watchdog.go Enable watchdog module by default; Add no data error (#2953) 2024-03-14 07:50:55 +01:00
watchdog_test.go Add new collector and metrics for watchdog (#2309) (#2880) 2024-03-09 10:00:06 +01:00
wifi_linux.go
xfrm.go Add new collector and metrics for XFRM (#2544) (#2866) 2023-12-03 17:10:59 +01:00
xfrm_test.go Add new collector and metrics for XFRM (#2544) (#2866) 2023-12-03 17:10:59 +01:00
xfs_linux.go
zfs.go
zfs_freebsd.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
zfs_linux.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
zfs_linux_test.go Revert "Add ZFS freebsd per dataset stats (#2753)" (#2925) 2024-02-14 09:13:18 +01:00
zfs_solaris.go
zoneinfo_linux.go