From 6376faf5b9dec899d360b8de0e450998e7ce201a Mon Sep 17 00:00:00 2001 From: Kristian Date: Fri, 12 Apr 2024 08:40:43 -0700 Subject: [PATCH] Update metrics.md Adding a few webhook controller metric examples. Thanks. --- docs/book/src/topics/metrics.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/book/src/topics/metrics.md b/docs/book/src/topics/metrics.md index 144014049..88c1a3fe8 100644 --- a/docs/book/src/topics/metrics.md +++ b/docs/book/src/topics/metrics.md @@ -55,4 +55,6 @@ azwi_mutation_request_bucket{namespace="default",service_name="webhook",telemetr 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 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 azwi_mutation_request_count{namespace="default",service_name="webhook",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="0.20.0"} 1 -``` \ No newline at end of file +``` + +Please note that there are many webhook specific metrics that may be useful to monitor as well. Here are some webhook controller examples: controller_runtime_webhook_requests_total, controller_runtime_webhook_latency_seconds.sum, workqueue_depth, certwatcher_read_certificate_total, certwatcher_read_certificate_errors_total, and workqueue_retries_total.