datadog

datadog agent installation

docker run -d –name datadog-agent
–cgroupns host
-e DD_API_KEY= \ -e DD_LOGS_ENABLED=true \ -e DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true \ -e DD_CONTAINER_EXCLUDE="name:datadog-agent" \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -v /var/lib/docker/containers:/var/lib/docker/containers:ro \ -v /proc/:/host/proc/:ro \ -v /opt/datadog-agent/run:/opt/datadog-agent/run:rw \ -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ gcr.io/datadoghq/agent:latest

docker run -d –cgroupns host
–name dd-agent
-v /var/run/docker.sock:/var/run/docker.sock:ro
-v /proc/:/host/proc/:ro
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
-e DD_API_KEY='{your api key}'
-e DD_ENV=uat
-e DD_PROCESS_AGENT_ENABLED
-e DD_TAGS="tower:global_advisory lob:a\&t application:japan_data_platform apm_id:643513"
-e DD_LOGS_ENABLED=true
-e DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true
-e DD_CONTAINER_EXCLUDE="name:dd-agent"
gcr.io/datadoghq/agent:7 ~