node_exporter/collector
Christian Schwarz f29f3873ea Add a collector for ZFS, currently focussed on ARC stats.
It is tested on FreeBSD 10.2-RELEASE and Linux (ZFS on Linux 0.6.5.4).

On FreeBSD, Solaris, etc. ZFS metrics are exposed through sysctls.
ZFS on Linux exposes the same metrics through procfs `/proc/spl/...`.

In addition to sysctl metrics, 'computed metrics' are exposed by
the collector, which are based on several sysctl values.
There is some conditional logic involved in computing these metrics
which cannot be easily mapped to PromQL.

Not all 92 ARC sysctls are exposed right now but this can be changed
with one additional LOC each.
2017-01-08 10:23:58 -06:00
..
fixtures Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
ganglia Add license headers to all code files. 2015-09-26 17:44:39 +02:00
bonding_linux.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
bonding_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
collector.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
conntrack_linux.go Fix compilation without conntrack collector 2016-01-15 15:16:12 +03:00
cpu_darwin.go Add cpu collector for darwin 2016-12-28 18:38:52 +01: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 Better error handling when collecting CPU temps 2017-01-05 15:19:56 +01:00
devstat_dragonfly.go Remove gauges and convert to NewConstMetric format 2016-11-17 13:23:54 +01:00
devstat_freebsd.c Add missing license headers 2017-01-05 06:18:34 +01:00
devstat_freebsd.go Reuse devinfo struct 2017-01-05 05:38:26 +01:00
devstat_freebsd.h Add missing license headers 2017-01-05 06:18:34 +01:00
diskstats_linux.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
diskstats_linux_test.go Calculate Linux disk bytes read/written based on sector size (512B) 2015-12-27 22:00:02 +11:00
drbd_linux.go Reduce the severity of these messages. 2016-12-23 15:57:46 +01: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 Make sure we only return one metric per mounted fs 2017-01-04 16:45:25 +01:00
filesystem_common.go Make sure we only return one metric per mounted fs 2017-01-04 16:45:25 +01:00
filesystem_freebsd.go Make sure we only return one metric per mounted fs 2017-01-04 16:45:25 +01:00
filesystem_linux.go Make sure we only return one metric per mounted fs 2017-01-04 16:45:25 +01:00
gmond.go Limit node-exporter scope, deprecated collectors 2017-01-03 14:03:23 +01:00
helper.go Fix compilation without conntrack collector 2016-01-15 15:16:12 +03:00
hwmon_linux.go Move comment and remove superfluous newline 2017-01-03 14:41:05 +01:00
interrupts_common.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
interrupts_linux.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
interrupts_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
interrupts_openbsd.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
ipvs_linux.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
ipvs_linux_test.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
ksmd_linux.go Add new collector exposing 'ksmd' stats 2016-01-21 13:43:22 +03:00
loadavg.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
loadavg_freebsd.go Implement loadavg on FreeBSD without cgo 2016-12-26 23:06:05 +01: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_solaris.go Added loadavg collector for solaris 2017-01-04 17:45:40 -08:00
loadavg_unix.go Added loadavg collector for solaris 2017-01-04 17:45:40 -08: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 Use Gauge for megacli counters 2017-01-06 12:33:21 +01:00
megacli_test.go Add license headers to all code files. 2015-09-26 17:44:39 +02:00
meminfo.go Do not build meminfo on freebsd 2017-01-04 16:02:49 +01:00
meminfo_bsd.go Add meminfo stats for Darwin 2017-01-03 11:22:46 +01:00
meminfo_darwin.go Add meminfo stats for Darwin 2017-01-03 11:22:46 +01:00
meminfo_linux.go Refactor meminfo collector similar to filesystem 2017-01-03 11:20:36 +01: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
mountstats_linux.go Add mountstats collector for detailed NFS statistics 2016-12-20 11:13:02 -05: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 Add netdev collector for darwin 2016-12-29 19:17:15 +01:00
netdev_darwin.go Add netdev collector for darwin 2016-12-29 19:17:15 +01:00
netdev_linux.go Check for errors in netdev scanner 2017-01-03 14:48:52 +01: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
nfs_linux.go Add a collector for NFS client statistics. 2016-12-09 19:58:08 +01:00
ntp.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01: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 Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01: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 Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
tcpstat_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
textfile.go Stop using deprecated SetMetricFamilyInjectionHook 2017-01-06 12:21:12 +01:00
textfile_test.go Suppress log noise from textfile collector test. 2015-09-28 13:56:22 +00:00
time.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
uname_linux.go Fix uname collector for arm/ppc64/ppc64le architectures 2015-10-03 16:17:15 -04:00
uname_linux_int8.go linux/mips: Unbreak the build 2016-11-30 13:13:49 -06:00
uname_linux_uint8.go add s390x support 2016-08-24 08:06:04 -04:00
vmstat_linux.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
zfs.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
zfs_freebsd.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
zfs_freebsd_test.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
zfs_linux.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
zfs_linux_test.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
zfs_zpool.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00
zfs_zpool_test.go Add a collector for ZFS, currently focussed on ARC stats. 2017-01-08 10:23:58 -06:00