We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0e9c1d + 1fb86b6 commit 201a662Copy full SHA for 201a662
pkg/webhook/internal/metrics/metrics.go
@@ -23,16 +23,6 @@ import (
23
)
24
25
var (
26
- // TotalRequests is a prometheus metric which counts the total number of requests that
27
- // the webhook server has received.
28
- TotalRequests = prometheus.NewCounterVec(
29
- prometheus.CounterOpts{
30
- Name: "controller_runtime_webhook_requests_total",
31
- Help: "Total number of admission requests",
32
- },
33
- []string{"webhook", "succeeded"},
34
- )
35
-
36
// RequestLatency is a prometheus metric which is a histogram of the latency
37
// of processing admission requests.
38
RequestLatency = prometheus.NewHistogramVec(
@@ -46,6 +36,5 @@ var (
46
47
func init() {
48
metrics.Registry.MustRegister(
49
- TotalRequests,
50
39
RequestLatency)
51
40
}
0 commit comments