Skip to content

Commit 97872c4

Browse files
committed
Fix docs for apiserver admission metrics
1 parent 7b28a11 commit 97872c4

File tree

1 file changed

+2
-2
lines changed
  • staging/src/k8s.io/apiserver/pkg/admission/metrics

1 file changed

+2
-2
lines changed

staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func newAdmissionMetrics() *AdmissionMetrics {
207207
Namespace: namespace,
208208
Subsystem: subsystem,
209209
Name: "webhook_fail_open_count",
210-
Help: "Admission webhook fail open count, identified by name and broken out for each admission type (validating or mutating).",
210+
Help: "Admission webhook fail open count, identified by name and broken out for each admission type (validating or admit).",
211211
StabilityLevel: metrics.ALPHA,
212212
},
213213
[]string{"name", "type"})
@@ -217,7 +217,7 @@ func newAdmissionMetrics() *AdmissionMetrics {
217217
Namespace: namespace,
218218
Subsystem: subsystem,
219219
Name: "webhook_request_total",
220-
Help: "Admission webhook request total, identified by name and broken out for each admission type (validating or mutating) and operation. Additional labels specify whether the request was rejected or not and an HTTP status code. Codes greater than 600 are truncated to 600, to keep the metrics cardinality bounded.",
220+
Help: "Admission webhook request total, identified by name and broken out for each admission type (validating or admit) and operation. Additional labels specify whether the request was rejected or not and an HTTP status code. Codes greater than 600 are truncated to 600, to keep the metrics cardinality bounded.",
221221
StabilityLevel: metrics.ALPHA,
222222
},
223223
[]string{"name", "type", "operation", "code", "rejected"})

0 commit comments

Comments
 (0)