node_exporter/collector
Ralf Horstmann dda51ad06a Fix staticcheck ST1003 warnings (#1249)
This fixes a few staticcheck ST1003 warnings in OpenBSD CPU
collector. No functional change.

Signed-off-by: Ralf Horstmann <ralf+github@ackstorm.de>
2019-02-05 07:46:50 +01:00
..
fixtures
fixtures_hidepid/proc
arp_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
bcache_linux.go
bonding_linux.go Enable bonding collector by default. (#872) 2018-03-29 15:18:12 +01:00
bonding_linux_test.go Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
boot_time_bsd.go
boot_time_solaris.go Add kstat-based Solaris metrics (#1197) 2019-01-12 13:33:56 +01:00
buddyinfo.go Fix remaining metric naming issues (#799) 2018-02-12 18:53:31 +01: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
cpu_dragonfly_test.go Add test 2016-09-28 09:10:05 +02:00
cpu_freebsd.go
cpu_linux.go Update procfs vendor (#1248) 2019-02-04 16:54:41 +01:00
cpu_openbsd.go Fix staticcheck ST1003 warnings (#1249) 2019-02-05 07:46:50 +01:00
cpu_solaris.go
devstat_dragonfly.go
devstat_freebsd.c
devstat_freebsd.go
devstat_freebsd.h
diskstats_darwin.go
diskstats_linux.go
diskstats_linux_test.go
drbd_linux.go
edac_linux.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
entropy_linux.go
exec_bsd.go
filefd_linux.go
filefd_linux_test.go Fix scanner usage without error handling 2017-02-28 16:04:25 -04:00
filesystem_bsd.go
filesystem_common.go
filesystem_freebsd.go
filesystem_linux.go
filesystem_linux_test.go
helper.go Delete unused code 2017-02-28 17:20:16 -04:00
hwmon_linux.go
infiniband_linux.go
infiniband_linux_test.go
interrupts_common.go
interrupts_linux.go
interrupts_linux_test.go
interrupts_openbsd.go
ipvs_linux.go
ipvs_linux_test.go
ksmd_linux.go
kvm_bsd.c
kvm_bsd.go Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
kvm_bsd.h
loadavg.go
loadavg_freebsd.go
loadavg_linux.go
loadavg_linux_test.go Add load5 and load15 to linux load metric 2015-10-17 13:07:39 +00:00
loadavg_solaris.go
loadavg_unix.go
logind_linux.go
logind_linux_test.go Fix all open go lint and vet issues 2017-02-28 13:05:38 -04:00
mdadm_linux.go
mdadm_linux_test.go
meminfo.go
meminfo_darwin.go
meminfo_linux.go
meminfo_linux_test.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
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
meminfo_openbsd.go
memory_bsd.go
mountstats_linux.go
netclass_linux.go
netdev_bsd.go
netdev_bsd_test.go
netdev_common.go
netdev_darwin.go
netdev_linux.go
netdev_linux_test.go Fix /proc/net/dev/ interface name handling 2018-04-18 12:53:59 +02:00
netdev_openbsd.go
netstat_linux.go
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 Cleanup NFS metrics (#834) 2018-02-21 07:25:41 +01:00
nfsd_linux.go
ntp.go Update Makefile.common (#1220) 2019-01-04 15:58:53 +00:00
paths.go collector: use path/filepath for handling file paths (#1228) 2019-01-21 17:44:55 +01:00
paths_test.go
processes_linux.go
processes_linux_test.go
qdisc_linux.go
runit.go Replace --collectors.enabled with per-collector flags (#640) 2017-09-28 15:06:26 +02:00
sockstat_linux.go
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
supervisord.go Update Makefile.common (#1220) 2019-01-04 15:58:53 +00:00
sysctl_bsd.go
systemd_linux.go
systemd_linux_test.go Change systemd unit filtering (#1083) 2018-09-24 15:04:55 +02:00
tcpstat_linux.go
tcpstat_linux_test.go collector: add bounds check and test for tcpstat collector (#1134) 2018-10-27 09:21:36 +02:00
textfile.go
textfile_test.go
time.go Add _seconds suffix to node_time. (#823) 2018-02-14 16:59:08 +00:00
timex.go collector/timex: remove cgo dependency (#1079) 2018-09-20 11:51:34 +02:00
uname_linux.go
vmstat_linux.go
wifi_linux.go
xfs_linux.go xfs: expose correct fields, fix metric names 2017-10-20 18:41:51 -04:00
zfs.go updates for zfsonlinux 0.7.5 (#779) 2018-02-16 15:46:31 +01:00
zfs_linux.go Update Makefile.common (#1220) 2019-01-04 15:58:53 +00:00
zfs_linux_test.go
zfs_solaris.go