From 8785e4628efe95c468926e9e1abb7dbcc12c1d7d Mon Sep 17 00:00:00 2001 From: Pavol Loffay Date: Tue, 13 May 2025 20:33:11 +0200 Subject: [PATCH] OBSDOCS-1911: Update the metrics-related YAML for the OpenTelemetryCollector CR Signed-off-by: Pavol Loffay --- modules/otel-troubleshoot-metrics.adoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/otel-troubleshoot-metrics.adoc b/modules/otel-troubleshoot-metrics.adoc index a69579f8bbf8..4abff7b44e7b 100644 --- a/modules/otel-troubleshoot-metrics.adoc +++ b/modules/otel-troubleshoot-metrics.adoc @@ -29,10 +29,15 @@ The Operator creates a `-collector-monitoring` telemetry service that y service: telemetry: metrics: - address: ":8888" # <1> + readers: + - pull: + exporter: + prometheus: + host: 0.0.0.0 + port: 8888 # <1> # ... ---- -<1> The address at which the internal collector metrics are exposed. Defaults to `:8888`. +<1> The port at which the internal collector metrics are exposed. Defaults to `:8888`. . Retrieve the metrics by running the following command, which uses the port-forwarding Collector pod: +