k3s/pkg/kubelet/metrics
Yu-Ju Hong 191666d6a3 Fix computing of cpu nano core usage
CRI runtimes do not supply cpu nano core usage as it is not part of CRI
stats. However, there are upstream components that still rely on such
stats to function. The previous fix was faulty because the multiple
callers could compete and update the stats, causing
inconsistent/incoherent metrics. This change, instead, creates a
separate call for updating the usage, and rely on eviction manager,
which runs periodically, to trigger the updates. The caveat is that if
eviction manager is completley turned off, no one would compute the
usage.
2019-03-05 09:25:40 -08:00
..
collectors Fix computing of cpu nano core usage 2019-03-05 09:25:40 -08:00
BUILD Add kubelet_node_name metrics 2019-01-15 18:01:04 +08:00
metrics.go Fit RuntimeClass metrics to prometheus conventions 2019-02-19 12:46:37 -08:00