Skip to content

Commit 10168bc

Browse files
docs: Update metrics.md to add webhook controller metrics examples (#1321)
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
1 parent b023ebf commit 10168bc

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/book/src/topics/metrics.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,15 @@ azwi_mutation_request_bucket{namespace="default",service_name="webhook",telemetr
5555
azwi_mutation_request_bucket{namespace="default",service_name="webhook",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="0.20.0",le="+Inf"} 1
5656
azwi_mutation_request_sum{namespace="default",service_name="webhook",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="0.20.0"} 0.104694953
5757
azwi_mutation_request_count{namespace="default",service_name="webhook",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="0.20.0"} 1
58-
```
58+
```
59+
60+
Please note that there are many webhook specific metrics that may be useful to monitor as well. Here are some webhook controller examples:
61+
62+
- `controller_runtime_webhook_requests_total`
63+
- `controller_runtime_webhook_latency_seconds`
64+
- `workqueue_depth`
65+
- `certwatcher_read_certificate_total`
66+
- `certwatcher_read_certificate_errors_total`
67+
- `workqueue_retries_total`
68+
69+
To learn more about these metrics, please see [Default Exported Metrics References](https://book.kubebuilder.io/reference/metrics-reference.html)

0 commit comments

Comments
 (0)