Skip to content

Commit 6f9794d

Browse files
committed
Rename pod_preemption_metrics to preemption_metrics. Since this metric's type was changed from Gauge to Histogram, renaming it should make it easier to providers to migrate
1 parent c237804 commit 6f9794d

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)