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