You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Admission controller %s, identified by name and broken out for each operation and API resource and type (validate or admit).", false)
154
+
// Use buckets ranging from 5 ms to 2.5 seconds.
155
+
controller:=&metricSet{
156
+
latencies: metrics.NewHistogramVec(
157
+
&metrics.HistogramOpts{
158
+
Namespace: namespace,
159
+
Subsystem: subsystem,
160
+
Name: "controller_admission_duration_seconds",
161
+
Help: "Admission controller latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).",
"Admission webhook %s, identified by name and broken out for each operation and API resource and type (validate or admit).", false)
172
+
// Use buckets ranging from 5 ms to 2.5 seconds (admission webhooks timeout at 30 seconds by default).
173
+
webhook:=&metricSet{
174
+
latencies: metrics.NewHistogramVec(
175
+
&metrics.HistogramOpts{
176
+
Namespace: namespace,
177
+
Subsystem: subsystem,
178
+
Name: "webhook_admission_duration_seconds",
179
+
Help: "Admission webhook latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).",
0 commit comments