node_exporter/collector
Jonas Wielicki c481dd19da Re-introduce human-readable chip types
The chip label generation has been changed in #334 to prefer the
unique device path (e.g. the location on the PCI bus) due to #333.

Here, a new annotation metric ``node_hwmon_chip_names`` is
introduced which allows to link the unique chip sysfs path to a
human-readable chip name which may not be unique among chip sysfs
paths (for example, dual-slot systems have multiple
chipType="coretemp" sensors).

This allows to mitigate the downsides of the solution to #333
(namely that the device path may not be stable across kernels and
reboots) for cases where it does not matter that multiple devices
may have the same human-readable name (e.g. aggregation or where
at most one device with a common chip name is present).

For cases where no human-readable name can be derived, the
annotation metric is not emitted.
2016-12-01 09:59:52 +01:00
..
fixtures #219 - add fixes for @samzhang111 super token 2016-11-16 14:49:57 -05: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_dragonfly.go Add test 2016-09-28 09:10:05 +02:00
cpu_dragonfly_test.go Add test 2016-09-28 09:10:05 +02:00
cpu_freebsd.go change caps of the constant 2016-04-20 00:22:47 +02:00
devstat_dragonfly.go Remove gauges and convert to NewConstMetric format 2016-11-17 13:23:54 +01: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 Re-introduce human-readable chip types 2016-12-01 09:59:52 +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 Feedback on PR, thanks @tcolgate for the review 2016-11-17 10:23:01 -05:00
mdadm_linux_test.go #219 - add fixes for @samzhang111 super token 2016-11-16 14:49:57 -05: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