Skip to content

Commit b467072

Browse files
authored
Merge pull request kubernetes#93256 from ahg-g/ahg-metric
Rename pod_preemption_metrics to preemption_metrics.
2 parents bb079af + 6f9794d commit b467072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scheduler/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ var (
126126
PreemptionVictims = metrics.NewHistogram(
127127
&metrics.HistogramOpts{
128128
Subsystem: SchedulerSubsystem,
129-
Name: "pod_preemption_victims",
129+
Name: "preemption_victims",
130130
Help: "Number of selected preemption victims",
131131
// we think #victims>50 is pretty rare, therefore [50, +Inf) is considered a single bucket.
132132
Buckets: metrics.LinearBuckets(5, 5, 10),

0 commit comments

Comments
 (0)