Skip to content

Commit

Permalink
use lightweight stats only image for datadog (github#24482)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesurowiec authored Jan 21, 2022
1 parent 2231d29 commit f98162e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions docker-compose.prod.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,14 @@ services:
HEROKU_PRODUCTION_APP: true
PORT: 4000
DD_AGENT_HOST: datadog-agent
labels:
com.datadoghq.ad.logs: '[{"source": "node", "service": "docs"}]'
depends_on:
- datadog-agent
restart: always

datadog-agent:
image: datadog/agent:7.32.3
image: datadog/dogstatsd:7.32.4
ports:
- '8125:8125'
environment:
DD_API_KEY: ${DD_API_KEY}
DD_LOGS_ENABLED: true
DD_PROCESS_AGENT_ENABLED: true
DD_RUNTIME_METRICS_ENABLED: true
DD_DOGSTATSD_NON_LOCAL_TRAFFIC: true
DD_AGENT_HOST: datadog-agent
DD_HEALTH_PORT: 5555
DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL: true
DD_LOGS_CONFIG_DOCKER_CONTAINER_USE_FILE: true
DD_CONTAINER_EXCLUDE: 'name:datadog-agent'
DD_DOGSTATSD_TAGS: 'service:ghdocs env:production'
volumes:
- /home/LogFiles:/var/lib/docker/containers:ro
- ${WEBAPP_STORAGE_HOME}/opt/datadog-agent/run:/opt/datadog-agent/run:rw
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro

0 comments on commit f98162e

Please sign in to comment.