Skip to content

Commit 4fa4866

Browse files
committed
docs: add new metric ingress_controller_admission_count
1 parent e3f336e commit 4fa4866

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/styles/kong/auto-ignore.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ ingress_controller_configuration_push_broken_resource_count
3131
ingress_controller_configuration_push_last_successful
3232
ingress_controller_translation_broken_resource_count
3333
ingress_controller_translation_count
34+
ingress_controller_admission_count
3435
inlineString
3536
involvedObject
3637
kuma
@@ -93,4 +94,4 @@ KongPlugin
9394
KongClusterPlugin
9495
KongConsumer
9596
Rekor
96-
Sigstore
97+
Sigstore

app/_src/kubernetes-ingress-controller/production/observability/prometheus.md

+11
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ This metric provides these labels:
7272

7373
`ingress_controller_translation_broken_resource_count` (type: `gauge`) provides the number of resources that the controller cannot successfully translate to {{site.base_gateway}} configuration.
7474

75+
{% endif_version %}
76+
{% if_version gte:3.2.x %}
77+
### ingress_controller_admission_count
78+
79+
`ingress_controller_admission_count` (type: `counter`) provides the number of admissions that the admission webhook processes.
80+
81+
This metric provides these labels:
82+
83+
* `allowed` describes whether an admission was allowed
84+
* `resource` describes the resource under admission
85+
7586
{% endif_version %}
7687

7788
## Low-level performance metrics

0 commit comments

Comments
 (0)