node_exporter/collector
Rene Treffer abe8e297a6 Prefer device path based names over exported names (#334)
* Prefer device path based names over exported names

For some sensors (like coretemp) it is possible that multiple
instances exist, thus base the name on the device path and not on
the exported name.

* Update end-to-end test for dual socket machines

Explicitly have 2 coretemp instances with a symlink for the device
such that the hwmon collector must pick that name (or fail)
2016-10-28 20:25:44 +01:00
..
fixtures Prefer device path based names over exported names (#334) 2016-10-28 20:25:44 +01:00
ganglia Add license headers to all code files. 2015-09-26 17:44:39 +02:00
bonding_linux.go Add a flag for the sysfs location. 2015-09-28 13:56:22 +00:00
bonding_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
collector.go Add license headers to all code files. 2015-09-26 17:44:39 +02:00
conntrack_linux.go Fix compilation without conntrack collector 2016-01-15 15:16:12 +03:00
cpu_freebsd.go change caps of the constant 2016-04-20 00:22:47 +02:00
devstat_freebsd.go Add license headers to all code files. 2015-09-26 17:44:39 +02:00
diskstats_linux.go Ignore partitions on NVME devices by default 2016-07-09 13:23:01 +02:00
diskstats_linux_test.go Calculate Linux disk bytes read/written based on sector size (512B) 2015-12-27 22:00:02 +11:00
entropy_linux.go collector/entropy_linux.go: Use canonical name for available entropy 2016-01-14 08:26:04 +01:00
filefd_linux.go Convert filefd collector to use ConstMetrics 2016-08-12 01:26:25 +02:00
filefd_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
filesystem_bsd.go Activate filesystem collector on DragonFly (#302) 2016-09-11 12:08:00 -04:00
filesystem_common.go Activate filesystem collector on DragonFly (#302) 2016-09-11 12:08:00 -04:00
filesystem_linux.go Fix typos, and initialisms from comments in #217 2016-05-13 13:40:14 -07:00
gmond.go switch to github.com/prometheus/common/log for logging 2015-10-30 13:20:06 -07:00
helper.go Fix compilation without conntrack collector 2016-01-15 15:16:12 +03:00
hwmon_linux.go Prefer device path based names over exported names (#334) 2016-10-28 20:25:44 +01:00
interrupts_common.go Document os support of each collector 2016-01-21 19:36:58 -05:00
interrupts_linux.go collector: add openbsd support to interrupt collector 2015-11-06 14:49:04 -08:00
interrupts_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
interrupts_openbsd.go Do a make format run. 2015-12-18 14:08:52 +00:00
ipvs_linux.go Document os support of each collector 2016-01-21 19:36:58 -05:00
ipvs_linux_test.go Document os support of each collector 2016-01-21 19:36:58 -05:00
ksmd_linux.go Add new collector exposing 'ksmd' stats 2016-01-21 13:43:22 +03:00
loadavg.go Build cleanly under windows. 2016-01-07 17:59:16 -08:00
loadavg_linux.go collector: support 1,5,15m load averages for all unices 2015-10-31 06:04:24 -07:00
loadavg_linux_test.go Add load5 and load15 to linux load metric 2015-10-17 13:07:39 +00:00
loadavg_unix.go collector: support 1,5,15m load averages for all unices 2015-10-31 06:04:24 -07:00
logind_linux.go Add 'logind' exporter 2016-04-20 17:28:12 +02:00
logind_linux_test.go Add 'logind' exporter 2016-04-20 17:28:12 +02:00
mdadm_linux.go Update mdstat fixture based on linux source. 2016-09-19 16:11:16 +02:00
mdadm_linux_test.go Fix mdadm collector for resync=PENDING. 2016-09-18 08:30:20 +02:00
megacli.go Add license headers to all code files. 2015-09-26 17:44:39 +02:00
megacli_test.go Add license headers to all code files. 2015-09-26 17:44:39 +02:00
meminfo_bsd.go Compile meminfo for dfly (#315) 2016-09-28 08:08:19 +01:00
meminfo_linux.go Convert meminfo collector to use ConstMetrics 2016-08-12 01:30:15 +02:00
meminfo_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
meminfo_numa_linux.go Add Linux NUMA "numastat" metrics (#249) 2016-10-12 13:07:49 +02:00
meminfo_numa_linux_test.go Add Linux NUMA "numastat" metrics (#249) 2016-10-12 13:07:49 +02:00
netdev_bsd.go Compile netdev on dragonfly (#314) 2016-09-27 21:44:13 +01:00
netdev_bsd_test.go Compile netdev on dragonfly (#314) 2016-09-27 21:44:13 +01:00
netdev_common.go Compile netdev on dragonfly (#314) 2016-09-27 21:44:13 +01:00
netdev_linux.go Do a make format run. 2015-12-18 14:08:52 +00:00
netdev_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
netdev_openbsd.go Do a make format run. 2015-12-18 14:08:52 +00:00
netstat_linux.go Convert netstat collector to use ConstMetrics 2016-08-12 00:34:00 +02:00
netstat_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
ntp.go Add NTP stratum to NTP collector 2016-06-03 13:25:30 +03:00
paths.go Add a flag for the sysfs location. 2015-09-28 13:56:22 +00:00
paths_test.go Add a flag for the sysfs location. 2015-09-28 13:56:22 +00:00
runit.go switch to github.com/prometheus/common/log for logging 2015-10-30 13:20:06 -07:00
sockstat_linux.go Convert sockstat collector to use ConstMetrics 2016-08-12 01:36:42 +02:00
sockstat_linux_test.go sockstat: add support for RHE4 2016-07-05 23:24:54 +02:00
stat_linux.go Do a make format run. 2015-12-18 14:08:52 +00:00
supervisord.go switch to github.com/prometheus/common/log for logging 2015-10-30 13:20:06 -07:00
systemd_linux.go Add white/blacklisting of units for systemd collector 2016-08-20 13:08:03 +02:00
systemd_linux_test.go Add white/blacklisting of units for systemd collector 2016-08-20 13:08:03 +02:00
tcpstat_linux.go Add license headers to all code files. 2015-09-26 17:44:39 +02:00
tcpstat_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
textfile.go Close file handler in textfile 2016-06-30 00:06:51 +08:00
textfile_test.go Suppress log noise from textfile collector test. 2015-09-28 13:56:22 +00:00
time.go switch to github.com/prometheus/common/log for logging 2015-10-30 13:20:06 -07:00
uname_linux.go Fix uname collector for arm/ppc64/ppc64le architectures 2015-10-03 16:17:15 -04:00
uname_linux_int8.go Fix compilation on linux/arm64 2015-10-15 08:44:49 +01:00
uname_linux_uint8.go add s390x support 2016-08-24 08:06:04 -04:00
vmstat_linux.go Disable compilation of vmstat on !Linux target OS 2016-01-19 17:43:02 +01:00