mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
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
This commit is contained in:
@@ -126,7 +126,7 @@ var (
|
||||
PreemptionVictims = metrics.NewHistogram(
|
||||
&metrics.HistogramOpts{
|
||||
Subsystem: SchedulerSubsystem,
|
||||
Name: "pod_preemption_victims",
|
||||
Name: "preemption_victims",
|
||||
Help: "Number of selected preemption victims",
|
||||
// we think #victims>50 is pretty rare, therefore [50, +Inf) is considered a single bucket.
|
||||
Buckets: metrics.LinearBuckets(5, 5, 10),
|
||||
|
Reference in New Issue
Block a user