mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #91448 from RainbowMango/pr_fix_metric_naming
update metrics to conform promlint
This commit is contained in:
commit
472a4e9ce2
@ -145,7 +145,7 @@ var (
|
||||
PreemptionAttempts = metrics.NewCounter(
|
||||
&metrics.CounterOpts{
|
||||
Subsystem: SchedulerSubsystem,
|
||||
Name: "total_preemption_attempts",
|
||||
Name: "preemption_attempts_total",
|
||||
Help: "Total preemption attempts in the cluster till now",
|
||||
StabilityLevel: metrics.ALPHA,
|
||||
})
|
||||
|
@ -53,9 +53,6 @@ var exceptionMetrics = []string{
|
||||
// kube-proxy
|
||||
"kubernetes_build_info",
|
||||
|
||||
// kube-scheduler
|
||||
"scheduler_total_preemption_attempts",
|
||||
|
||||
// kubelet-resource-v1alpha1
|
||||
"container_cpu_usage_seconds_total",
|
||||
"node_cpu_usage_seconds_total",
|
||||
|
Loading…
Reference in New Issue
Block a user