Skip to content

Commit 1fe22bf

Browse files
authored
Merge pull request #94802 from max-cx/OBSDOCS-1911new
OBSDOCS-1911: Update the metrics-related YAML for the OpenTelemetryCollector CR
2 parents e314193 + 8ab0441 commit 1fe22bf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

modules/otel-troubleshoot-metrics.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ The Operator creates a `<cr_name>-collector-monitoring` telemetry service that y
2929
service:
3030
telemetry:
3131
metrics:
32-
address: ":8888" # <1>
32+
readers:
33+
- pull:
34+
exporter:
35+
prometheus:
36+
host: 0.0.0.0
37+
port: 8888 # <1>
3338
# ...
3439
----
35-
<1> The address at which the internal collector metrics are exposed. Defaults to `:8888`.
40+
<1> The port at which the internal collector metrics are exposed. Defaults to `:8888`.
3641

3742
. Retrieve the metrics by running the following command, which uses the port-forwarding Collector pod:
3843
+

0 commit comments

Comments
 (0)