Merge pull request #118945 from andrewsykim/update-request-filter-duration-buckets

Introduce larger buckets for request_filter_duration_seconds and request_wait_duration_seconds
This commit is contained in:
Kubernetes Prow Robot 2023-06-29 03:51:36 -07:00 committed by GitHub
commit 2ee01fb673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -229,7 +229,7 @@ var (
Subsystem: APIServerComponent,
Name: "request_filter_duration_seconds",
Help: "Request filter latency distribution in seconds, for each filter type",
Buckets: []float64{0.0001, 0.0003, 0.001, 0.003, 0.01, 0.03, 0.1, 0.3, 1.0, 5.0},
Buckets: []float64{0.0001, 0.0003, 0.001, 0.003, 0.01, 0.03, 0.1, 0.3, 1.0, 5.0, 10.0, 15.0, 30.0},
StabilityLevel: compbasemetrics.ALPHA,
},
[]string{"filter"},

View File

@ -47,7 +47,7 @@ const (
var (
queueLengthBuckets = []float64{0, 10, 25, 50, 100, 250, 500, 1000}
requestDurationSecondsBuckets = []float64{0, 0.005, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 30}
requestDurationSecondsBuckets = []float64{0, 0.005, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 15, 30}
)
var registerMetrics sync.Once

View File

@ -2727,6 +2727,9 @@
- 0.3
- 1
- 5
- 10
- 15
- 30
- name: request_post_timeout_total
subsystem: apiserver
help: Tracks the activity of the request handlers after the associated requests
@ -3609,6 +3612,7 @@
- 2
- 5
- 10
- 15
- 30
- name: seat_fair_frac
subsystem: flowcontrol