Merge pull request #93256 from ahg-g/ahg-metric

Rename pod_preemption_metrics to preemption_metrics.
This commit is contained in:
Kubernetes Prow Robot 2020-07-20 19:51:37 -07:00 committed by GitHub
commit b467072a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),