Skip to content

Commit

Permalink
Merge pull request kubernetes#91448 from RainbowMango/pr_fix_metric_n…
Browse files Browse the repository at this point in the history
…aming

update metrics to conform promlint
  • Loading branch information
k8s-ci-robot committed May 28, 2020
2 parents 2572066 + 4d8280a commit 472a4e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/scheduler/metrics/metrics.go
Expand Up @@ -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,
})
Expand Down
Expand Up @@ -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",
Expand Down

0 comments on commit 472a4e9

Please sign in to comment.