node_exporter/collector
Dipack P Panjabi a7452023db Added mountinfo changes to node_exporter (#1417)
Use the extra information gleaned from the mountinfo file to add
a 'mountaddr' field for NFS metrics. This helps prevent prometheus from
ignoring mounts that come from the same URL, but are actually from
different IP addresses.

This commit also rebases to current master

Signed-off-by: Dipack P Panjabi <dpanjabi@hudson-trading.com>
2019-07-28 11:32:40 +02:00
..
fixtures Added mountinfo changes to node_exporter (#1417) 2019-07-28 11:32:40 +02:00
fixtures_bindmount/proc properly strip path.rootfs from mountpoint labels (#1421) 2019-07-19 16:51:17 +02:00
fixtures_hidepid/proc Add fallback for missing /proc/1/mounts (#1172) 2018-11-30 14:01:55 +01:00
arp_linux.go
bcache_linux.go update procfs to latest (#1335) 2019-05-07 06:38:21 +02:00
bonding_linux.go Bond: Monitor bond mii_status not link operstate (#1124) 2019-02-10 11:00:04 +01:00
bonding_linux_test.go
boot_time_bsd.go
boot_time_solaris.go Add kstat-based Solaris metrics (#1197) 2019-01-12 13:33:56 +01:00
buddyinfo.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
collector.go collector: export NodeCollector for documentation purposes 2018-10-26 15:42:00 -04:00
conntrack_linux.go
cpu_common.go
cpu_darwin.go
cpu_dragonfly.go Check BSD's mib which accounts for swap size (#1149) 2018-11-17 11:02:54 +01:00
cpu_dragonfly_test.go
cpu_freebsd.go
cpu_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
cpu_openbsd.go Fix staticcheck ST1003 warnings (#1249) 2019-02-05 07:46:50 +01:00
cpu_solaris.go collector/cpu: split cpu freq metrics into separate collector (#1253) 2019-02-19 17:22:54 +01:00
cpufreq_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
cpufreq_solaris.go collector/cpu: split cpu freq metrics into separate collector (#1253) 2019-02-19 17:22:54 +01:00
devstat_dragonfly.go
devstat_freebsd.c
devstat_freebsd.go
devstat_freebsd.h
diskstats_common.go Add diskstats collector for OpenBSD (#1250) 2019-02-06 11:36:22 +01:00
diskstats_darwin.go Add diskstats collector for OpenBSD (#1250) 2019-02-06 11:36:22 +01:00
diskstats_linux.go Add diskstats collector for OpenBSD (#1250) 2019-02-06 11:36:22 +01:00
diskstats_linux_test.go Update diskstats for linux kernel 4.19 (#1109) 2018-10-15 17:24:28 +02:00
diskstats_openbsd.go Add diskstats collector for OpenBSD (#1250) 2019-02-06 11:36:22 +01:00
drbd_linux.go
edac_linux.go collector: use path/filepath for handling file paths (#1245) 2019-02-05 16:37:27 +01:00
entropy_linux.go
exec_bsd.go
filefd_linux.go
filefd_linux_test.go
filesystem_bsd.go properly strip path.rootfs from mountpoint labels (#1421) 2019-07-19 16:51:17 +02:00
filesystem_common.go
filesystem_freebsd.go properly strip path.rootfs from mountpoint labels (#1421) 2019-07-19 16:51:17 +02:00
filesystem_linux.go properly strip path.rootfs from mountpoint labels (#1421) 2019-07-19 16:51:17 +02:00
filesystem_linux_test.go properly strip path.rootfs from mountpoint labels (#1421) 2019-07-19 16:51:17 +02:00
helper.go
hwmon_linux.go use sys/unix package instead of syscall (#1340) 2019-05-10 13:04:06 -05:00
infiniband_linux.go Collect additional common Infiniband counters (#1120) 2018-10-30 21:54:09 +01:00
infiniband_linux_test.go infiniband: Handle iWARP* RDMA modules N/A (#974) 2018-10-04 15:05:59 +02:00
interrupts_common.go
interrupts_linux.go
interrupts_linux_test.go
interrupts_openbsd.go
ipvs_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
ipvs_linux_test.go
ksmd_linux.go collector: use path/filepath for handling file paths (#1245) 2019-02-05 16:37:27 +01:00
kvm_bsd.c
kvm_bsd.go
kvm_bsd.h
loadavg.go
loadavg_freebsd.go
loadavg_linux.go
loadavg_linux_test.go
loadavg_solaris.go Add kstat-based Solaris metrics (#1197) 2019-01-12 13:33:56 +01:00
loadavg_unix.go
logind_linux.go
logind_linux_test.go
mdadm_linux.go Closes issue #261 on node_exporter. (#1403) 2019-07-01 11:56:06 +02:00
meminfo.go Correctly cast Darwin memory info (#1060) 2018-09-07 22:27:52 +02:00
meminfo_darwin.go update to host_statistics64 for Darwin meminfo (#1183) 2018-12-06 16:47:20 +01:00
meminfo_linux.go
meminfo_linux_test.go
meminfo_numa_linux.go collector: use path/filepath for handling file paths (#1245) 2019-02-05 16:37:27 +01:00
meminfo_numa_linux_test.go
meminfo_openbsd.go
memory_bsd.go meminfo: Fix the size mismatch in the swapTotal check mib for BSD. (#1345) 2019-05-14 17:42:36 -05:00
mountstats_linux.go Added mountinfo changes to node_exporter (#1417) 2019-07-28 11:32:40 +02:00
netclass_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
netdev_bsd.go Add --collector.netdev.device-whitelist flag (#1279) 2019-05-31 17:55:50 +02:00
netdev_bsd_test.go
netdev_common.go Add --collector.netdev.device-whitelist flag (#1279) 2019-05-31 17:55:50 +02:00
netdev_darwin.go bugfix: avoid nil reference when ignore is nil (#1414) 2019-07-12 14:23:54 +02:00
netdev_linux.go Add --collector.netdev.device-whitelist flag (#1279) 2019-05-31 17:55:50 +02:00
netdev_linux_test.go Add --collector.netdev.device-whitelist flag (#1279) 2019-05-31 17:55:50 +02:00
netdev_openbsd.go Add --collector.netdev.device-whitelist flag (#1279) 2019-05-31 17:55:50 +02:00
netstat_linux.go netstat: Add TCP In/Out Segs (#1185) 2018-12-08 12:16:02 +01:00
netstat_linux_test.go
nfs_linux.go update procfs to latest (#1335) 2019-05-07 06:38:21 +02:00
nfsd_linux.go update procfs to latest (#1335) 2019-05-07 06:38:21 +02:00
ntp.go Update Makefile.common (#1220) 2019-01-04 15:58:53 +00:00
paths.go properly strip path.rootfs from mountpoint labels (#1421) 2019-07-19 16:51:17 +02:00
paths_test.go
perf_linux.go Add perf exporter (#1274) 2019-05-07 13:21:41 +02:00
perf_linux_test.go Add perf exporter (#1274) 2019-05-07 13:21:41 +02:00
pressure_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
processes_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
processes_linux_test.go Early init of procfs (#1315) 2019-04-10 18:16:12 +02:00
qdisc_linux.go
runit.go
schedstat_linux.go Scrape CPU latency stats from /proc/schedstat (#1389) 2019-07-10 09:16:24 +02:00
sockstat_linux.go
sockstat_linux_test.go
stat_linux.go update procfs to v0.0.2 (#1376) 2019-06-12 20:47:16 +02:00
supervisord.go Update Makefile.common (#1220) 2019-01-04 15:58:53 +00:00
sysctl_bsd.go use sys/unix package instead of syscall (#1340) 2019-05-10 13:04:06 -05:00
systemd_linux.go Fix systemd restart counter label from state to name (#1393) 2019-06-25 09:37:48 +02:00
systemd_linux_test.go Systemd refactor (#1254) 2019-02-11 23:27:21 +01:00
tcpstat_linux.go read /proc/net files with a single read syscall (#1380) 2019-07-08 15:53:14 +02:00
tcpstat_linux_test.go read /proc/net files with a single read syscall (#1380) 2019-07-08 15:53:14 +02:00
textfile.go textfile: use opened file's mtime as timestamp (#1326) 2019-04-18 17:47:04 +02:00
textfile_test.go
time.go
timex.go use sys/unix package instead of syscall (#1340) 2019-05-10 13:04:06 -05:00
uname.go Cleanup uname Update call (#1342) 2019-05-13 11:44:12 -05:00
uname_freebsd.go collector: Implement uname collector for FreeBSD (#1239) 2019-02-05 17:39:24 +01:00
uname_linux.go collector: Implement uname collector for FreeBSD (#1239) 2019-02-05 17:39:24 +01:00
vmstat_linux.go
wifi_linux.go Add receive/transmit bytes total metric (wifi collector). (#1150) 2018-11-19 19:15:54 +01:00
xfs_linux.go Expose additional XFS runtime statistics (#1423) 2019-07-15 16:28:09 +02:00
zfs.go
zfs_freebsd.go Added FreeBSD zfs support per #1063. (#1394) 2019-07-03 15:47:39 +02:00
zfs_linux.go Update Makefile.common (#1220) 2019-01-04 15:58:53 +00:00
zfs_linux_test.go
zfs_solaris.go Add kstat-based Solaris metrics (#1197) 2019-01-12 13:33:56 +01:00