Merge pull request #92407 from RainbowMango/pr_promlint_kubelet

change kubelet metrics name
This commit is contained in:
Kubernetes Prow Robot
2020-06-24 02:00:03 -07:00
committed by GitHub
3 changed files with 13 additions and 16 deletions

View File

@@ -64,12 +64,9 @@ var exceptionMetrics = []string{
"node_collector_evictions_number",
// k8s.io/kubernetes/pkg/kubelet/server/stats
// The two metrics have been deprecated and will be removed in release v1.20+.
"container_cpu_usage_seconds_total", // non-counter metrics should not have "_total" suffix
"node_cpu_usage_seconds_total", // non-counter metrics should not have "_total" suffix
// k8s.io/kubernetes/pkg/kubelet/pleg
"kubelet_running_container_count", // non-histogram and non-summary metrics should not have "_count" suffix
"kubelet_running_pod_count", // non-histogram and non-summary metrics should not have "_count" suffix
}
// A Problem is an issue detected by a Linter.