open-nomad/client/stats
Alex Dadgar 3ec7946b3e Fix invalid CPU stats on Windows
This PR fixes an issue introduced in Nomad 0.6.0 due to
https://github.com/shirou/gopsutil/issues/420. The issue arised from the
fact that the Windows stats from gopsutil reports CPUs in
percentages where we expected ticks.
2017-09-10 15:30:48 -07:00
..
cpu.go Fix the calculation of total ticks for docker and exec 2016-06-12 18:08:35 +02:00
cpu_test.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
cpu_unix.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
cpu_windows.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
host.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
host_test.go client: Guard against "NaN" values from floats 2017-09-08 16:21:07 -05:00