Skip to content

Commit 5f17acc

Browse files
Do not include "code" for latency
This created to much noise and broke BC.
1 parent 96e2b22 commit 5f17acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/webhook/internal/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var (
3030
Name: "controller_runtime_webhook_latency_seconds",
3131
Help: "Histogram of the latency of processing admission requests",
3232
},
33-
[]string{"webhook", "code"},
33+
[]string{"webhook"},
3434
)
3535

3636
// RequestTotal is a prometheus metric which is a counter of the total processed admission requests.

0 commit comments

Comments
 (0)