Created
February 12, 2016 18:48
-
-
Save sekka1/d5f308d6128f67c9fbac to your computer and use it in GitHub Desktop.
Docker - Run Datadog in interactive mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it \ | |
--net=host \ | |
--privileged=true \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /proc/mounts:/host/proc/mounts:ro \ | |
-v /proc:/host/proc:ro \ | |
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ | |
-e API_KEY=<YOUR API KEY HERE> \ | |
-e TAGS=\"os-name:$NAME,garland:garlandos-version:$VERSION,machine-id:%m$metadata\" \ | |
vungle/docker-dd-agent:coreos-zookeeper bash | |
# change logs to debug | |
File: /etc/dd-agent/datadog.conf | |
replace "# log_level: INFO" with "log_level: DEBUG" | |
# Startup all the datadog processes | |
supervisord -n -c /etc/dd-agent/supervisor.conf | |
# Send datadog debug information to support (43833 is your support ticket nubmer) | |
/etc/init.d/datadog-agent flare 43833 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment