Ben Kochie
090957658e
Update logging ( #3097 )
...
Switch from promlog/go-kit to promslog/slog for logging.
* Update Go build to 1.23.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 months ago
Haoyu Sun
37d49746bc
Remove metrics of offline CPUs in CPU collector
...
Signed-off-by: Haoyu Sun <hasun@redhat.com>
2 years ago
Jia Xin
39b4556b5b
fix cpustat when some cpus are offline
...
Signed-off-by: Jia Xin <alexjx@gmail.com>
2 years ago
david
5d68d5b9ad
move logic to procfs; create a new metric for isolation
...
Signed-off-by: david <davidventura27@gmail.com>
2 years ago
david
512e086dec
Implement #2250 : Add "isolated" label on cpu collector on linux
...
Signed-off-by: david <davidventura27@gmail.com>
2 years ago
Julien Pivotto
68a6c78c0d
Update go to 1.17 ( #2159 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Ben Kochie
73c9a10d37
Handle small backwards jumps in CPU idle
...
The Linux CPU idle stat can also jump backwards slightly in some cases.
Allow the jump back up to 3 seconds before we attempt to reset the CPU
counter cache.
Fixes: https://github.com/prometheus/node_exporter/issues/1903
Signed-off-by: Ben Kochie <superq@gmail.com>
3 years ago