mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
rename metric scheduler_total_preemption_attempts to scheduler_preemption_attempts_total as counter metrics should have _total suffix.
This commit is contained in:
parent
a82d71c376
commit
4d8280acca
@ -145,7 +145,7 @@ var (
|
|||||||
PreemptionAttempts = metrics.NewCounter(
|
PreemptionAttempts = metrics.NewCounter(
|
||||||
&metrics.CounterOpts{
|
&metrics.CounterOpts{
|
||||||
Subsystem: SchedulerSubsystem,
|
Subsystem: SchedulerSubsystem,
|
||||||
Name: "total_preemption_attempts",
|
Name: "preemption_attempts_total",
|
||||||
Help: "Total preemption attempts in the cluster till now",
|
Help: "Total preemption attempts in the cluster till now",
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
})
|
})
|
||||||
|
@ -53,9 +53,6 @@ var exceptionMetrics = []string{
|
|||||||
// kube-proxy
|
// kube-proxy
|
||||||
"kubernetes_build_info",
|
"kubernetes_build_info",
|
||||||
|
|
||||||
// kube-scheduler
|
|
||||||
"scheduler_total_preemption_attempts",
|
|
||||||
|
|
||||||
// kubelet-resource-v1alpha1
|
// kubelet-resource-v1alpha1
|
||||||
"container_cpu_usage_seconds_total",
|
"container_cpu_usage_seconds_total",
|
||||||
"node_cpu_usage_seconds_total",
|
"node_cpu_usage_seconds_total",
|
||||||
|
Loading…
Reference in New Issue
Block a user