mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #112939 from lengrongfu/feat/update_preemption_victims_metric
feat: update preemption victims metric
This commit is contained in:
commit
040d7aaafa
@ -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(
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user