fix: update otel-collector telemetry.metrics config for v0.103+ (address → readers)

This commit is contained in:
root
2026-04-07 18:15:21 +05:00
parent 75cac363fc
commit 559b6234e7

View File

@@ -55,7 +55,13 @@ service:
extensions: [health_check, pprof]
telemetry:
metrics:
address: 0.0.0.0:8888
# otel-collector v0.103+ replaced `address` with `readers`
readers:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
pipelines:
traces:
receivers: [otlp]