node_exporter/collector
Dan Williams 8c5847bd94
netlink: read missing attributes from sysfs (#2669)
Read missing dev_id, name_assign_type, and addr_assign_type
from sysfs, since they only take a device-specific lock and
not the whole RTNL lock. This means reading them is much less
impactful on other system processes than many of the other
attributes in sysfs that do take the RTNL lock.

Signed-off-by: Dan Williams <dcbw@redhat.com>
2023-05-25 15:10:39 +02:00
..
fixtures exposing softirq metrics (#2294) 2023-05-25 15:09:32 +02:00
fixtures_bindmount/proc fix issue where rootfs path strips to the empty string (#1464) 2019-09-09 17:39:24 +02:00
fixtures_hidepid/proc Add fallback for missing /proc/1/mounts (#1172) 2018-11-30 14:01:55 +01:00
arp_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
bcache_linux.go bcache: remove cache_readaheads_totals metrics #2103 (#2583) 2023-05-20 14:13:07 +02:00
bonding_linux.go Remove ioutil (#2438) 2022-07-27 20:59:39 +02:00
bonding_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
boot_time_bsd.go Use SysctlTimeval for boottime collector on BSD 2021-11-15 10:50:03 +01:00
boot_time_solaris.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
btrfs_linux.go Fix btrfs device stats always being zero (#2516) 2022-11-08 16:09:39 +01:00
btrfs_linux_test.go Add btrfs device error stats (#2193) 2022-09-24 08:25:15 +02:00
buddyinfo.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cgroups_linux.go Cleanup cgroups collector (#2414) 2022-06-24 17:15:31 +02:00
collector.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
conntrack_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cpu_common.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cpu_darwin.go Workaround LLVM/Clang 11.0 for Darwin builds (#2200) 2021-11-09 17:52:49 +01:00
cpu_dragonfly.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cpu_dragonfly_test.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cpu_freebsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cpu_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
cpu_linux_test.go Remove metrics of offline CPUs in CPU collector 2023-03-07 14:01:02 +01:00
cpu_netbsd.go NetBSD support for CPU collector (#2626) 2023-04-07 13:35:33 +02:00
cpu_netbsd_test.go NetBSD support for CPU collector (#2626) 2023-04-07 13:35:33 +02:00
cpu_openbsd.go Do not hand define struct clockinfo here. Instead use the version from (#2663) 2023-05-11 10:39:51 +02:00
cpu_solaris.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
cpufreq_common.go feat: add support for cpu freq governor metrics 2023-03-10 18:19:33 +01:00
cpufreq_linux.go feat: add support for cpu freq governor metrics 2023-03-10 18:19:33 +01:00
cpufreq_solaris.go Optimize cpufreq collector 2023-01-28 11:42:02 +01:00
device_filter.go collector: fix comment and remove redundant parentheses (#2691) 2023-05-17 18:04:50 +02:00
device_filter_test.go Rename netDevFilter helper 2022-05-19 10:36:50 +02:00
devstat_dragonfly.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
devstat_freebsd.c Add missing license headers 2017-01-05 06:18:34 +01:00
devstat_freebsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
devstat_freebsd.h Add missing license headers 2017-01-05 06:18:34 +01:00
diskstats_common.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
diskstats_darwin.go Add diskstat include/exclude flag to all platforms 2022-06-28 08:30:01 +02:00
diskstats_linux.go collector/diskstats: Use SCSI_IDENT_SERIAL as serial (#2612) 2023-05-24 10:19:18 +02:00
diskstats_linux_test.go collector/diskstats: Add fixtures for udev data 2022-07-06 12:30:50 +02:00
diskstats_openbsd.go Add diskstat include/exclude flag to all platforms 2022-06-28 08:30:01 +02:00
diskstats_openbsd_amd64.go Add diskstat include/exclude flag to all platforms 2022-06-28 08:30:01 +02:00
dmi.go Sanitize UTF-8 in dmi collector (#2229) 2021-12-01 11:13:43 +01:00
drbd_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
drm_linux.go Remove redundant nil check (#2206) 2021-11-15 11:23:49 +01:00
edac_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
entropy_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
ethtool_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
ethtool_linux_test.go ethtool: Add test case with leading spaces (#2186) 2021-10-29 10:55:39 +02:00
exec_bsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
fibrechannel_linux.go Fixup codespell (#2455) 2022-09-02 10:49:47 +02:00
filefd_linux.go Remove ioutil (#2438) 2022-07-27 20:59:39 +02:00
filefd_linux_test.go Fix scanner usage without error handling 2017-02-28 16:04:25 -04:00
filesystem_bsd.go Fix filesystem collector for OpenBSD to not print loads of zero bytes in name (#2637) 2023-05-11 10:40:38 +02:00
filesystem_common.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
filesystem_freebsd.go collector: use ByteSliceToString from golang.org/x/sys/unix 2022-05-23 15:44:16 +02:00
filesystem_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
filesystem_linux_test.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
filesystem_openbsd.go Fix filesystem collector for OpenBSD to not print loads of zero bytes in name (#2637) 2023-05-11 10:40:38 +02:00
helper.go Remove ioutil (#2438) 2022-07-27 20:59:39 +02:00
helper_test.go collector: use ByteSliceToString from golang.org/x/sys/unix 2022-05-23 15:44:16 +02:00
hwmon_linux.go Fix hwmon label sanitizer (#2504) 2022-10-11 14:40:28 +02:00
infiniband_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
interrupts_common.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
interrupts_linux.go interrupts_linux: Fix fields on aarch64 (#2631) 2023-03-10 13:02:33 +01:00
interrupts_linux_test.go interrupts_linux: Fix fields on aarch64 (#2631) 2023-03-10 13:02:33 +01:00
interrupts_openbsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
interrupts_openbsd_amd64.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
ipvs_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
ipvs_linux_test.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
ksmd_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
kvm_bsd.c Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
kvm_bsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
kvm_bsd.h Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
lnstat_linux.go Fix staticcheck warnings on linux 2022-04-09 05:36:59 +00:00
loadavg.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
loadavg_bsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
loadavg_linux.go Remove ioutil (#2438) 2022-07-27 20:59:39 +02:00
loadavg_linux_test.go Add load5 and load15 to linux load metric 2015-10-17 13:07:39 +00:00
loadavg_solaris.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
logind_linux.go go.mod: Update coreos/go-systemd 2022-05-04 22:19:30 +02:00
logind_linux_test.go go.mod: Update coreos/go-systemd 2022-05-04 22:19:30 +02:00
mdadm_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
meminfo.go NetBSD support for the meminfo collector 2023-01-23 16:54:35 +00:00
meminfo_darwin.go add additional vm_stat memory metrics for darwin 2022-01-27 11:34:07 +01:00
meminfo_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
meminfo_linux_test.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
meminfo_netbsd.go NetBSD support for the meminfo collector 2023-01-23 16:54:35 +00:00
meminfo_numa_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
meminfo_numa_linux_test.go Add Linux NUMA "numastat" metrics (#249) 2016-10-12 13:07:49 +02:00
meminfo_openbsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
meminfo_openbsd_amd64.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
memory_bsd.go memory_bsd: Fix a problem fetching the user wire count on FreeBSD 2023-01-26 02:55:32 +00:00
mountstats_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
netclass_linux.go Expose administrative state of network interfaces as 'adminstate'. (#2515) 2023-05-02 15:25:05 +02:00
netclass_rtnl_linux.go netlink: read missing attributes from sysfs (#2669) 2023-05-25 15:10:39 +02:00
netdev_bsd.go collector/netdev_*: Add detailed interface stats 2022-07-26 13:24:20 +02:00
netdev_common.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
netdev_darwin.go collector/netdev_*: Add detailed interface stats 2022-07-26 13:24:20 +02:00
netdev_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
netdev_linux_test.go Add procfs fallback to netdev collector (#2509) 2022-10-24 10:30:32 +02:00
netdev_openbsd.go collector/netdev_*: Add detailed interface stats 2022-07-26 13:24:20 +02:00
netdev_openbsd_amd64.go collector/netdev_*: Add detailed interface stats 2022-07-26 13:24:20 +02:00
netisr_freebsd.go collector/netisr_freebsd.go: Added collector for netisr subsystem. (#2668) 2023-05-11 10:34:26 +02:00
netstat_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
netstat_linux_test.go Adds metrics and tests for UDP receive and send buffer errors (#1534) 2020-02-19 14:41:40 +01:00
network_route_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
nfs_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
nfsd_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
ntp.go Merge pull request #2603 from prometheus/superq/deprecate_ntp 2023-03-07 17:37:19 +01:00
nvme_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
os_release.go feat: add support macos version (#2471) 2022-09-16 13:13:06 +02:00
os_release_test.go add file descriptor close safely in test 2022-08-22 16:01:02 +02:00
paths.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
paths_test.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
perf_linux.go Update build 2023-03-08 11:16:10 +01:00
perf_linux_test.go Remove ioutil (#2438) 2022-07-27 20:59:39 +02:00
powersupplyclass.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
powersupplyclass_darwin.go powersupplyclass_darwin: enable builds against older macOS SDK 2022-03-23 22:41:31 -04:00
powersupplyclass_linux.go darwin powersupply collector (#1777) 2021-10-28 10:22:24 +02:00
pressure_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
processes_linux.go support thread state 2021-10-19 11:58:43 +02:00
processes_linux_test.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
qdisc_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
rapl_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
runit.go Use go-runit fork, mark collector as deprecated 2023-05-09 11:42:21 +02:00
schedstat_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
selinux_linux.go Add selinux collector (#2205) 2022-06-28 05:54:05 +02:00
slabinfo_linux.go collector: add slab info 2022-07-06 12:18:27 +02:00
sockstat_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
softirq_linux.go exposing softirq metrics (#2294) 2023-05-25 15:09:32 +02:00
softirqs_common.go exposing softirq metrics (#2294) 2023-05-25 15:09:32 +02:00
softnet_linux.go softnet: additionals metrics from softnet_data, (#2592) 2023-05-24 17:23:13 +02:00
stat_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
supervisord.go Deprecate supervisord collector 2023-05-23 18:10:42 +02:00
sysctl_bsd.go Use SysctlTimeval for boottime collector on BSD 2021-11-15 10:50:03 +01:00
sysctl_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
sysctl_openbsd_amd64.go skip null bytes at the end of strings 2020-11-12 23:37:57 +01:00
systemd_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
systemd_linux_test.go go.mod: Update coreos/go-systemd 2022-05-04 22:19:30 +02:00
tapestats_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
tcpstat_linux.go refactor: Use netlink for tcpstat collector 2022-04-25 10:13:06 +02:00
tcpstat_linux_test.go Use native endianness when encoding InetDiagMsg (#2508) 2022-10-22 11:05:47 +02:00
textfile.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
textfile_test.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
thermal_darwin.go Handle nil CPU thermal power status on M1 (#2225) 2021-11-29 10:55:36 +01:00
thermal_zone_linux.go Fix thermal_zone collector noise 2022-12-22 12:30:20 +01:00
time.go Add clocksource metrics to time collector (#2197) 2021-11-12 11:45:31 +01:00
time_linux.go Add clocksource metrics to time collector (#2197) 2021-11-12 11:45:31 +01:00
time_other.go Add clocksource metrics to time collector (#2197) 2021-11-12 11:45:31 +01:00
timex.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
udp_queues_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
uname.go Enable uname collector on NetBSD too 2022-12-31 12:02:00 +01:00
uname_bsd.go Enable uname collector on NetBSD too 2022-12-31 12:02:00 +01:00
uname_linux.go collector: use ByteSliceToString from golang.org/x/sys/unix 2022-05-23 15:44:16 +02:00
vmstat_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
wifi_linux.go Update exporter-toolkit 2023-03-07 15:18:38 +01:00
xfs_linux.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
zfs.go fix(zfs): add memory_available_bytes, fix dbufstats filename on Linux (#2687) 2023-05-23 11:13:48 +02:00
zfs_freebsd.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
zfs_linux.go fix(zfs): add memory_available_bytes, fix dbufstats filename on Linux (#2687) 2023-05-23 11:13:48 +02:00
zfs_linux_test.go fix(zfs): add memory_available_bytes, fix dbufstats filename on Linux (#2687) 2023-05-23 11:13:48 +02:00
zfs_solaris.go Update go to 1.17 (#2159) 2021-10-03 13:35:24 +02:00
zoneinfo_linux.go Add ErrorLog plumbing to promhttp 2021-06-03 10:47:41 +02:00