Merge pull request #112939 from lengrongfu/feat/update_preemption_victims_metric

feat: update preemption victims metric
This commit is contained in:
Kubernetes Prow Robot 2022-10-13 16:38:46 -07:00 committed by GitHub
commit 040d7aaafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 12 deletions

View File

@ -77,8 +77,8 @@ var (
Subsystem: SchedulerSubsystem,
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),
// we think #victims>64 is pretty rare, therefore [64, +Inf) is considered a single bucket.
Buckets: metrics.ExponentialBuckets(1, 2, 7),
StabilityLevel: metrics.STABLE,
})
PreemptionAttempts = metrics.NewCounter(

View File

@ -88,16 +88,13 @@
type: Histogram
stabilityLevel: STABLE
buckets:
- 5
- 10
- 15
- 20
- 25
- 30
- 35
- 40
- 45
- 50
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- name: queue_incoming_pods_total
subsystem: scheduler
help: Number of pods added to scheduling queues by event and queue type.