File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,3 +14,6 @@ container_run_opts: >
1414 -d
1515 -p 27017:27017
1616 -v {{ db_path }}:/data/db:rw
17+
18+ # DD integration for mongodb
19+ has_dd_integration : true
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ container_run_opts: "-d --name mongodb -p 27017:27017 -v {{ db_path }}:/data/db:
1010
1111# do not monitor docker-daemon for mongo, as there is none
1212no_dd_monitoring : true
13+ has_dd_integration : true
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ container_tag: "3.5.3-management"
1010container_run_opts : " -d --name prod-rabbit -v {{ db_path }}:/var/lib/rabbitmq:rw -v {{ config_path }}/rabbitmq.config:/etc/rabbitmq/rabbitmq.config:ro -p 54320:15672 -p 54321:5672"
1111
1212hosted_ports : [ 5672, 15672 ]
13- # monitor the docker-daemon
14- no_dd_monitoring : false
13+ # DD integration for RabbitMQ
14+ has_dd_integration : true
Original file line number Diff line number Diff line change 6666# assumes a config for {{ name }} exists
6767- name : install datadog integrations
6868 sudo : yes
69- when : name is defined
69+ when : has_dd_integration is defined
7070 template :
7171 src="{{ name }}.yaml.j2"
7272 dest="/etc/dd-agent/conf.d/{{ name }}.yaml"
You can’t perform that action at this time.
0 commit comments