kubernetes/pkg/kubelet/metrics/collectors
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
..
BUILD vendor github.com/prometheus/client_golang/prometheus/testutil package 2018-12-02 10:25:50 +08:00
log_metrics_test.go vendor github.com/prometheus/client_golang/prometheus/testutil package 2018-12-02 10:25:50 +08:00
log_metrics.go Fix kubelet panic. 2018-11-16 16:21:57 -08:00
volume_stats_test.go Fix computing of cpu nano core usage 2019-03-05 09:25:40 -08:00
volume_stats.go Fix lint on pkg/kubelet/server/... 2019-02-21 10:31:41 -05:00