From a18de85475ae43092190d95abba9041982a8d00d Mon Sep 17 00:00:00 2001 From: Henry Heng Date: Wed, 26 Nov 2025 15:58:59 +0000 Subject: [PATCH] Update compose.yaml --- metrics/otel/compose.yaml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/metrics/otel/compose.yaml b/metrics/otel/compose.yaml index 974081979..ebf775f28 100644 --- a/metrics/otel/compose.yaml +++ b/metrics/otel/compose.yaml @@ -1,17 +1,16 @@ -version: '2' +version: "2" services: - otel-collector: - read_only: true - image: otel/opentelemetry-collector-contrib - command: - ['--config=/etc/otelcol-contrib/config.yaml', '--feature-gates=-exporter.datadogexporter.DisableAPMStats', '${OTELCOL_ARGS}'] - volumes: - - ./otel.config.yml:/etc/otelcol-contrib/config.yaml - ports: - - 1888:1888 # pprof extension - - 8888:8888 # Prometheus metrics exposed by the Collector - - 8889:8889 # Prometheus exporter metrics - - 13133:13133 # health_check extension - - 4317:4317 # OTLP gRPC receiver - - 4318:4318 # OTLP http receiver - - 55679:55679 # zpages extension + otel-collector: + read_only: true + image: otel/opentelemetry-collector-contrib + command: ["--config=/etc/otelcol-contrib/config.yaml", "--feature-gates=-exporter.datadogexporter.DisableAPMStats", "${OTELCOL_ARGS}"] + volumes: + - ./otel.config.yml:/etc/otelcol-contrib/config.yaml + ports: + - 1888:1888 # pprof extension + - 8888:8888 # Prometheus metrics exposed by the Collector + - 8889:8889 # Prometheus exporter metrics + - 13133:13133 # health_check extension + - 4317:4317 # OTLP gRPC receiver + - 4318:4318 # OTLP http receiver + - 55679:55679 # zpages extension