Created
October 31, 2019 09:50
-
-
Save pierot/5e5436149d2a5e208ad3d6e01867563d to your computer and use it in GitHub Desktop.
datadog docker
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
- name: Datadog installation production | |
hosts: prod | |
become: yes | |
roles: | |
- datadog | |
vars: | |
datadog_api_key: "xxxx" | |
datadog_site: "datadoghq.eu" | |
datadog_agent_version: "1:6.13.0-1" | |
datadog_checks: | |
docker: | |
init_config: | |
instances: | |
- url: "unix://var/run/docker.sock" | |
file_system_blacklist: | |
- tmpfs | |
- none | |
- shm | |
- nsfs | |
- netns | |
- binfmt_misc | |
- autofs | |
- tmpfs$ | |
- none$ | |
- shm$ | |
- nsfs$ | |
- netns$ | |
- binfmt_misc$ | |
- autofs$ | |
- .*tmpfs | |
- .*none | |
- .*shm | |
- .*nsfs | |
- .*netns | |
- .*binfmt_misc | |
- .*autofs | |
- .*tmpfs.* | |
- .*none.* | |
- .*shm.* | |
- .*nsfs.* | |
- .*netns.* | |
- .*binfmt_misc.* | |
- .*autofs.* | |
mount_point_blacklist: | |
- /var/lib/docker/(containers|overlay2)/ | |
- /run/docker/netns/ | |
- /sys/kernel/debug/ | |
- /run/user/1000/ | |
# excluded_mountpoint_re: (/var/lib/docker/.*|/run/docker/netns/.*) | |
tags: | |
- datadog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment