Created
November 6, 2014 15:53
-
-
Save LotharSee/b6f73ec9324c0236693c to your computer and use it in GitHub Desktop.
Docker configuration example with max_containers raised to 1000
This file contains hidden or 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
# Warning | |
# The user running the Datadog Agent (usually "dd-agent") must be part of the "docker" group | |
init_config: | |
# Change the root directory to look at to get cgroup statistics. Useful when running inside a | |
# container with host directories mounted on a different folder. Default: /. | |
# | |
# docker_root: /host | |
instances: | |
- url: "unix://var/run/docker.sock" | |
max_containers: 1000 | |
# You can add extra tags to your Docker metrics with the tags list option. Default: []. | |
# | |
# tags: [extra_tag1, extra_tag2] | |
# To include or exclude containers based on their tags, use the include and | |
# exclude keys in your instance. | |
# The reasoning is: if a tag matches an exclude rule, it won't be included | |
# unless it also matches an include rule. | |
# | |
# Examples: | |
# exclude all, except ubuntu and debian. | |
# | |
# include: | |
# - "image:ubuntu" | |
# - "image:debian" | |
# exclude: | |
# - ".*" | |
# | |
# include all, except ubuntu and debian. | |
# | |
# include: [] | |
# exclude: | |
# - "image:ubuntu" | |
# - "image:debian" | |
# If you want to include sub-cgroups metrics, turn the collect_total option on. | |
# It is useless for a normal usage, as total_ metrics will be the same as normal ones. Default: false. | |
# | |
# collect_total: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment