node_exporter/collector
Calle Pettersson 859a825bb8 Replace --collectors.enabled with per-collector flags (#640)
* Move NodeCollector into package collector

* Refactor collector enabling

* Update README with new collector enabled flags

* Fix out-of-date inline flag reference syntax

* Use new flags in end-to-end tests

* Add flag to disable all default collectors

* Track if a flag has been set explicitly

* Add --collectors.disable-defaults to README

* Revert disable-defaults flag

* Shorten flags

* Fixup timex collector registration

* Fix end-to-end tests

* Change procfs and sysfs path flags

* Fix review comments
2017-09-28 15:06:26 +02:00
..
fixtures cpu: Metric 'package_throttles_total' is per package. (#657) 2017-09-07 23:24:18 +02:00
ganglia Fix all open go lint and vet issues 2017-02-28 13:05:38 -04:00
arp_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
bcache_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
bonding_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
bonding_linux_test.go
buddyinfo.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
collector.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
conntrack_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
cpu_darwin.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
cpu_dragonfly.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
cpu_dragonfly_test.go Add test 2016-09-28 09:10:05 +02:00
cpu_freebsd.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
cpu_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
devstat_dragonfly.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
devstat_freebsd.c Add missing license headers 2017-01-05 06:18:34 +01:00
devstat_freebsd.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
devstat_freebsd.h Add missing license headers 2017-01-05 06:18:34 +01:00
diskstats_darwin.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
diskstats_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
diskstats_linux_test.go
drbd_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
edac_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
entropy_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
exec_bsd.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
filefd_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
filefd_linux_test.go Fix scanner usage without error handling 2017-02-28 16:04:25 -04:00
filesystem_bsd.go Fix lint issues on filesystem BSD implementation 2017-03-22 21:48:12 -03:00
filesystem_common.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
filesystem_freebsd.go Remove unnecessarily named return variables 2017-02-28 16:04:25 -04:00
filesystem_linux.go Fix export of stale device error metrics for unmounted filesystems 2017-03-22 21:48:18 -03:00
gmond.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
helper.go Delete unused code 2017-02-28 17:20:16 -04:00
hwmon_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
infiniband_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
infiniband_linux_test.go Fix all open go lint and vet issues 2017-02-28 13:05:38 -04:00
interrupts_common.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
interrupts_linux.go Fix scanner usage without error handling 2017-02-28 16:04:25 -04:00
interrupts_linux_test.go
interrupts_openbsd.go Convert remaining collectors to use ConstMetrics 2017-01-03 14:11:10 +01:00
ipvs_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
ipvs_linux_test.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
ksmd_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
loadavg.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
loadavg_freebsd.go Fix build tags of loadavg collector 2017-07-20 15:13:58 -04:00
loadavg_linux.go
loadavg_linux_test.go
loadavg_solaris.go Fix build tags of loadavg collector 2017-07-20 15:13:58 -04:00
loadavg_unix.go Explicitly check for the rc 3 in call to getloadavg(). Reorder logic. 2017-05-14 13:07:54 +02:00
logind_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
logind_linux_test.go Fix all open go lint and vet issues 2017-02-28 13:05:38 -04:00
mdadm_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
mdadm_linux_test.go Change raid0 status line regexp for mdadm collector (#619) 2017-07-20 17:04:33 +02:00
megacli.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
megacli_test.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
meminfo.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
meminfo_bsd.go Add exec_boot_time for freebsd, dragonfly 2017-04-21 10:23:19 -04:00
meminfo_darwin.go Add meminfo stats for Darwin 2017-01-03 11:22:46 +01:00
meminfo_linux.go Fix scanner usage without error handling 2017-02-28 16:04:25 -04:00
meminfo_linux_test.go
meminfo_numa_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
meminfo_numa_linux_test.go Add Linux NUMA "numastat" metrics (#249) 2016-10-12 13:07:49 +02:00
mountstats_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +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 Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
netdev_darwin.go Add netdev collector for darwin 2016-12-29 19:17:15 +01:00
netdev_linux.go Remove unnecessary conversions 2017-02-28 13:57:49 -04:00
netdev_linux_test.go Simplify code 2017-02-28 13:54:27 -04:00
netdev_openbsd.go
netstat_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
netstat_linux_test.go Add parsing /proc/net/snmp6 file for netstat-linux (#615) 2017-07-08 20:16:35 +02:00
nfs_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
ntp.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
paths.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
paths_test.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
qdisc_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
runit.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
sockstat_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
sockstat_linux_test.go Add parsing /proc/net/snmp6 file for netstat-linux (#615) 2017-07-08 20:16:35 +02:00
stat_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
supervisord.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
sysctl_bsd.go sysctl_bsd.go: golint fixes. Typo fix. 2017-05-14 12:51:57 +02:00
systemd_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
systemd_linux_test.go Fix gofmt -s and spelling issues 2017-02-28 14:01:28 -04:00
tcpstat_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
tcpstat_linux_test.go Fix all open go lint and vet issues 2017-02-28 13:05:38 -04:00
textfile.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
textfile_test.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
time.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
timex.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
uname_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
uname_linux_int8.go uname_linux: Build for 32bit MIPS too 2017-04-20 13:30:40 +02:00
uname_linux_uint8.go
vmstat_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
wifi_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
xfs_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
zfs.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
zfs_linux.go Use int64 throughout the ZFS collector. 2017-08-21 16:40:16 +00:00
zfs_linux_test.go Use int64 throughout the ZFS collector. 2017-08-21 16:40:16 +00:00