Skip to content

Commit fa6fdbd

Browse files
author
Myztiq
committed
Merge remote-tracking branch 'origin/master' into SAN-6926-starlord-3
2 parents 2a90780 + 2cc849b commit fa6fdbd

76 files changed

Lines changed: 365 additions & 192 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ansible/datadog.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
roles:
66
- role: notify
77

8-
- role: k8-deployment
9-
- role: k8-service
8+
- role: datadog-daemon

ansible/delta-hosts/variables

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ marketing_aws_secret_key=sRvgsTPgHGnZ4cGd37YaF/3fbzv75P01bNBK4kgn
168168
ansible_ssh_private_key_file=~/.ssh/delta.pem
169169
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
170170
bastion_sshd_port=60506
171-
builder=delta-api-2
171+
builder=delta-builder
172172
consul_host_address=10.8.6.122
173173
cream_stripe_publishable_key=pk_live_5yYYZlYIwY3LwvKFaXY0jNlm
174174
datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ
@@ -181,7 +181,7 @@ github_protocol=https
181181
is_github_enterprise=false
182182
mongo_hosts=10.8.4.216:27017,10.8.10.254:27017,10.8.13.89:27017
183183
mongo_port=27017
184-
navi_mongo=mongo
184+
navi_mongo=10.8.6.41
185185
new_relic_license_key=338516e0826451c297d44dc60aeaf0a0ca4bfead
186186
node_env=production-delta
187187
pg_host=delta-infradb.cnksgdqarobf.us-west-2.rds.amazonaws.com

ansible/gamma-hosts/hosts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ localhost
2727
[consul]
2828
localhost
2929

30-
[deployer]
30+
[datadog]
3131
localhost
3232

3333
[docker-listener]
@@ -144,7 +144,7 @@ big-poppa
144144
charon
145145
consul
146146
cream
147-
deployer
147+
datadog
148148
dock
149149
docker-listener
150150
docks

ansible/gamma-hosts/variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ volume_id=vol-040eb379856609100
153153
ansible_ssh_private_key_file=~/.ssh/gamma.pem
154154
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
155155
bastion_sshd_port=60709
156-
builder=gamma-api-worker
156+
builder=gamma-builder
157157
consul_host_address=10.4.5.144
158158
cream_stripe_publishable_key=pk_test_sHr5tQaPtgwiE2cpW6dQkzi8
159159
datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ

ansible/group_vars/all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ prometheus_port: 9090
180180
prometheus_aws_access_key: AKIAIFG37NSI6O2QMRRQ
181181
prometheus_aws_secret_key: 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
182182

183-
# prometheus_alart
183+
# prometheus_alert
184184
prometheus_alert_port: 9093
185-
prometheus_alert_url: http://prometheus:{{ prometheus_alert_port }}
185+
prometheus_alert_url: http://prometheus-alerts:{{ prometheus_alert_port }}
186186

187187
# rabbit
188188
rabbit_host_address: rabbitmq

ansible/group_vars/alpha-api-base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
node_version: 4.2.2
1+
node_version: 4.4.3
22
npm_version: 4.0.3
33

44
repo: git@github.com:CodeNow/api.git
@@ -39,7 +39,7 @@ api_base_container_envs:
3939
- name: CREAM_HOST
4040
value: "http://{{ cream_host_address }}:{{ cream_port }}"
4141
- name: DATADOG_HOST
42-
value: "{{ datadog_host_address }}"
42+
valueFrom: "spec.nodeName"
4343
- name: DATADOG_PORT
4444
value: "{{ datadog_port }}"
4545
- name: DOCKER_BUILD_LINE_TIMEOUT_MS

ansible/group_vars/alpha-arithmancy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ npm_version: "2.14.7"
77

88
container_envs:
99
- name: DATADOG_HOST
10-
value: "{{ datadog_host_address }}"
10+
valueFrom: "spec.nodeName"
1111
- name: DATADOG_PORT
1212
value: "{{ datadog_port }}"
1313
- name: NODE_ENV

ansible/group_vars/alpha-big-poppa-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dockerfile_pre_install_commands: [
1616

1717
big_poppa_base_container_envs:
1818
- name: DATADOG_HOST
19-
value: "{{ datadog_host_address }}"
19+
valueFrom: "spec.nodeName"
2020
- name: DATADOG_PORT
2121
value: "{{ datadog_port }}"
2222
- name: GITHUB_TOKEN

ansible/group_vars/alpha-cream-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cream_base_container_envs:
1616
- name: BIG_POPPA_HOST
1717
value: "http://{{ big_poppa_host_address }}:{{ big_poppa_port }}"
1818
- name: DATADOG_HOST
19-
value: "{{ datadog_host_address }}"
19+
valueFrom: "spec.nodeName"
2020
- name: DATADOG_PORT
2121
value: "{{ datadog_port }}"
2222
- name: GIT_BRANCH

ansible/group_vars/alpha-datadog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ name: datadog
33
container_image: datadog/docker-dd-agent
44
container_tag: latest-dogstatsd
55
hosted_ports: ["{{ datadog_port }}"]
6+
protocol: UDP
67

78
container_envs:
89
- name: TAGS
910
value: "env:{{ node_env }}"
11+
- name: API_KEY
12+
value: "{{ datadog_api_key }}"
13+
14+
advance_arg: true
15+
container_run_args: "sed -i -e \\\"s/^# tags:.*$/tags: ${TAGS}/\\\" /etc/dd-agent/datadog.conf && supervisord -n -c /etc/dd-agent/supervisor.conf"

0 commit comments

Comments
 (0)