node_exporter/collector
Thomas Lin 3ddc82c2d8 Fixed inaccurate 'node_network_speed_bytes' when speeds are low (#1580)
Integer division and the order of operations when converting Mbps to Bps
results in a loss of accuracy if the interface speeds are set low.
e.g. 100 Mbps is reported as 12000000 Bps, should be 12500000
     10 Mbps is reported as 1000000 Bps, should be 1250000

Signed-off-by: Thomas Lin <t.lin@mail.utoronto.ca>
2020-01-01 13:10:53 +01:00
..
fixtures Add softnet collector (#1576) 2019-12-30 01:36:10 +01:00
fixtures_bindmount/proc fix issue where rootfs path strips to the empty string (#1464) 2019-09-09 17:39:24 +02:00
fixtures_hidepid/proc Add fallback for missing /proc/1/mounts (#1172) 2018-11-30 14:01:55 +01:00
arp_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
bcache_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
bonding_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
bonding_linux_test.go
boot_time_bsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
boot_time_solaris.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
buddyinfo.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
collector.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
conntrack_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpu_common.go Fix some golint issues (#927) 2018-04-29 14:34:47 +02:00
cpu_darwin.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpu_dragonfly.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpu_dragonfly_test.go
cpu_freebsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpu_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpu_openbsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpu_solaris.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpufreq_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
cpufreq_solaris.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
devstat_dragonfly.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
devstat_freebsd.c
devstat_freebsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
devstat_freebsd.h
diskstats_common.go Add diskstats collector for OpenBSD (#1250) 2019-02-06 11:36:22 +01:00
diskstats_darwin.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
diskstats_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
diskstats_linux_test.go Add new counters for flush requests in Linux 5.5 (#1548) 2019-11-25 13:16:15 -06:00
diskstats_openbsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
drbd_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
edac_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
entropy_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
exec_bsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
filefd_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
filefd_linux_test.go
filesystem_bsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
filesystem_common.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
filesystem_freebsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
filesystem_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
filesystem_linux_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
helper.go
hwmon_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
infiniband_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
interrupts_common.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
interrupts_linux.go Use lowercase cpu label name in interrupts (#849) 2018-03-08 15:04:49 +01:00
interrupts_linux_test.go
interrupts_openbsd.go Use lowercase cpu label name in interrupts (#849) 2018-03-08 15:04:49 +01:00
ipvs_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
ipvs_linux_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
ksmd_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
kvm_bsd.c
kvm_bsd.go
kvm_bsd.h
loadavg.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
loadavg_freebsd.go
loadavg_linux.go
loadavg_linux_test.go
loadavg_solaris.go Add kstat-based Solaris metrics (#1197) 2019-01-12 13:33:56 +01:00
loadavg_unix.go
logind_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
logind_linux_test.go
mdadm_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
meminfo.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
meminfo_darwin.go update to host_statistics64 for Darwin meminfo (#1183) 2018-12-06 16:47:20 +01:00
meminfo_linux.go
meminfo_linux_test.go
meminfo_numa_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
meminfo_numa_linux_test.go
meminfo_openbsd.go Wrap errors in the Go 1.13 way 2019-12-19 15:26:55 +01:00
memory_bsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
mountstats_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netclass_linux.go Fixed inaccurate 'node_network_speed_bytes' when speeds are low (#1580) 2020-01-01 13:10:53 +01:00
netdev_bsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netdev_bsd_test.go
netdev_common.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netdev_darwin.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netdev_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netdev_linux_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netdev_openbsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netstat_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
netstat_linux_test.go
nfs_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
nfsd_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
ntp.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
paths.go fix issue where rootfs path strips to the empty string (#1464) 2019-09-09 17:39:24 +02:00
paths_test.go
perf_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
perf_linux_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
powersupplyclass.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
pressure_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
processes_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
processes_linux_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
qdisc_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
runit.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
schedstat_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
sockstat_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
softnet_linux.go Fix up softnet collector for go-kit change (#1581) 2019-12-31 19:36:39 +01:00
stat_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
supervisord.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
sysctl_bsd.go use sys/unix package instead of syscall (#1340) 2019-05-10 13:04:06 -05:00
systemd_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
systemd_linux_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
tcpstat_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
tcpstat_linux_test.go read /proc/net files with a single read syscall (#1380) 2019-07-08 15:53:14 +02:00
textfile.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
textfile_test.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
thermal_zone_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
time.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
timex.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
uname.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
uname_bsd.go Extends uname collector to export on Darwin OS (#1433) 2019-08-03 12:32:43 +02:00
uname_linux.go collector: Implement uname collector for FreeBSD (#1239) 2019-02-05 17:39:24 +01:00
vmstat_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
wifi_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
xfs_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
zfs.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
zfs_freebsd.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
zfs_linux.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00
zfs_linux_test.go updates for zfsonlinux 0.7.5 (#779) 2018-02-16 15:46:31 +01:00
zfs_solaris.go switch to go-kit/log (#1575) 2019-12-31 17:19:37 +01:00