File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ vault_aws_region=us-east-1
5858ansible_ssh_private_key_file=~/.ssh/gamma.pem
5959datadog_host_address=10.4.6.251
6060datadog_tags=env:gamma
61+ datadog_mongodb_user=datadog
62+ datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ
6163domain=runnable-gamma.com
6264mongo_port=27017
6365new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
Original file line number Diff line number Diff line change 66 - { role: notify, tags: "notify" }
77 - { role: database }
88 - { role: container_kill_start, tags: "deploy" }
9+ - { role: datadog }
Original file line number Diff line number Diff line change 77 - { role: database }
88 - { role: rabbitmq }
99 - { role: container_kill_start, tags: "deploy" }
10+ - { role: datadog }
Original file line number Diff line number Diff line change 66 - { role: notify, tags: "notify" }
77 - { role: database, tags: "deploy" }
88 - { role: container_kill_start, tags: "deploy" }
9+ - { role: datadog }
Original file line number Diff line number Diff line change 11---
2+ - name : install dd agent
3+ tags : ['datadog']
4+ sudo : yes
5+ apt :
6+ name=datadog-agent
7+ state=latest
8+
9+ - name : create dd configdir
10+ tags : ['datadog']
11+ sudo : yes
12+ file :
13+ path=/etc/dd-agent/conf.d
14+ owner=root
15+ mode=0555
16+ state=directory
17+
218- name : add https transport
319 tags : ['datadog']
420 sudo : yes
3955 dest=/etc/dd-agent/conf.d/tcp_check.yaml
4056 notify : restart datadog-agent
4157
58+ # assumes a config for {{ app_name }} exists
59+ - name : install datadog integrations
60+ tags : ['datadog']
61+ sudo : yes
62+ template :
63+ src="{{ app_name }}.yaml.j2"
64+ dest="/etc/dd-agent/conf.d/{{ app_name }}.yaml.j2"
65+ notify : restart datadog-agent
66+
4267- name : force restart
43- tags : ['datadogg ']
68+ tags : ['datadog ']
4469 command : echo restart datadog
4570 when : force_restart is defined
4671 notify : restart datadog-agent
Original file line number Diff line number Diff line change 1+ init_config:
2+
3+ instances:
4+ - server: mongodb://{{ datadog_mongodb_user }}:{{ datadog_mongodb_pwd }}@localhost:27017
Original file line number Diff line number Diff line change 1+ init_config:
2+
3+ instances:
4+ - {{ app_name }}_api_url: http://localhost:15672/api/
5+ {{ app_name }}_user: username # defaults to 'guest'
6+ {{ app_name }}_pass: password # defaults to 'guest'
Original file line number Diff line number Diff line change 1+ init_config:
2+
3+ instances:
4+ - host: localhost
5+ port: {{ redis_port }}
6+ password:
7+ keys:
8+ - queue1
You can’t perform that action at this time.
0 commit comments