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
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"},