mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
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:
commit
a25834cb5a
@ -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"},
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user