Update compose.yaml

This commit is contained in:
Henry Heng 2025-11-26 15:58:59 +00:00 committed by GitHub
parent a6774daddb
commit a18de85475
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 16 deletions

View File

@ -1,10 +1,9 @@
version: '2' version: "2"
services: services:
otel-collector: otel-collector:
read_only: true read_only: true
image: otel/opentelemetry-collector-contrib image: otel/opentelemetry-collector-contrib
command: command: ["--config=/etc/otelcol-contrib/config.yaml", "--feature-gates=-exporter.datadogexporter.DisableAPMStats", "${OTELCOL_ARGS}"]
['--config=/etc/otelcol-contrib/config.yaml', '--feature-gates=-exporter.datadogexporter.DisableAPMStats', '${OTELCOL_ARGS}']
volumes: volumes:
- ./otel.config.yml:/etc/otelcol-contrib/config.yaml - ./otel.config.yml:/etc/otelcol-contrib/config.yaml
ports: ports: