From 23ce86403cc9345813d08432982acd5673ab115a Mon Sep 17 00:00:00 2001 From: Rafael Brito Date: Wed, 7 Jan 2026 09:18:14 -0600 Subject: [PATCH] adding exponential buckets on webhook native histogram Signed-off-by: Rafael Brito --- pkg/webhook/internal/metrics/metrics.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/webhook/internal/metrics/metrics.go b/pkg/webhook/internal/metrics/metrics.go index f1e6ce68f5..a8ff400954 100644 --- a/pkg/webhook/internal/metrics/metrics.go +++ b/pkg/webhook/internal/metrics/metrics.go @@ -33,6 +33,7 @@ var ( prometheus.HistogramOpts{ Name: "controller_runtime_webhook_latency_seconds", Help: "Histogram of the latency of processing admission requests", + Buckets: prometheus.ExponentialBuckets(10e-9, 10, 12), NativeHistogramBucketFactor: 1.1, NativeHistogramMaxBucketNumber: 100, NativeHistogramMinResetDuration: 1 * time.Hour,