Merge pull request #115802 from logicalhan/webhook-metrics

webhook metrics top out at 2.5s but default timeout is 10s
This commit is contained in:
Kubernetes Prow Robot 2023-02-15 15:29:11 -08:00 committed by GitHub
commit a25834cb5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,7 @@ func newAdmissionMetrics() *AdmissionMetrics {
Subsystem: subsystem,
Name: "webhook_admission_duration_seconds",
Help: "Admission webhook latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).",
Buckets: []float64{0.005, 0.025, 0.1, 0.5, 1.0, 2.5},
Buckets: []float64{0.005, 0.025, 0.1, 0.5, 1.0, 2.5, 10, 25},
StabilityLevel: metrics.STABLE,
},
[]string{"name", "type", "operation", "rejected"},

View File

@ -290,6 +290,8 @@
- 0.5
- 1
- 2.5
- 10
- 25
- name: current_inflight_requests
subsystem: apiserver
help: Maximal number of currently used inflight request limit of this apiserver