Skip to content

Commit e4112fb

Browse files
committed
Merge pull request #265 from CodeNow/newrelic-navi
Add ENV vars for navi newrelic
2 parents 296eb21 + 15d0475 commit e4112fb

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

ansible/delta-hosts/variables

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ khronos_mongo_auth=api:72192e5a-a5e1-11e5-add9-0270db32f7ad
2525
khronos_mongo_database=delta
2626
khronos_mongo_replset_name=delta
2727

28+
[navi:vars]
29+
navi_new_relic_app_name=delta-navi
30+
2831
[optimus:vars]
2932
optimus_aws_access_id=AKIAJWSSSJYUXKNW2ZDA
3033
optimus_aws_secret_id=tyvGiCbj5jWCiQnMLvfrfD64dFo8i6prkdcga86y

ansible/gamma-hosts/variables

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ khronos_mongo_auth=api:3f5210b8-8fe3-11e5-8e62-07b6eff19ecb
2525
khronos_mongo_database=gamma
2626
khronos_mongo_replset_name=gamma
2727

28+
[navi:vars]
29+
navi_new_relic_app_name=gamma-navi
30+
2831
[optimus:vars]
2932
optimus_aws_access_id=AKIAJPA2ZYSVVA5V7XXQ
3033
optimus_aws_secret_id=5V70AUxfIyHeLvlYZe0xaYevDAdgTOWOn5G7nHlt

ansible/group_vars/alpha-navi.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ container_image: "registry.runnable.com/runnable/{{ name }}"
44
container_tag: "{{ git_branch }}"
55
repo: "git@github.com:CodeNow/{{ name }}.git"
66
hosted_ports: ["{{ navi_port }}"]
7-
node_version: "4.1.0"
7+
node_version: "4.2.4"
88
npm_version: "2.8.3"
99

1010
container_envs: >
@@ -16,6 +16,10 @@ container_envs: >
1616
-e HTTP_PORT={{ hosted_ports[0] }}
1717
-e LOG_LEVEL_STDOUT=trace
1818
-e MONGO=mongodb://{{ navi_mongo_host_address }}:{{ navi_mongo_port }}/{{ navi_mongo_database }}
19+
-e NEW_RELIC_APP_NAME={{ navi_new_relic_app_name }}
20+
-e NEW_RELIC_LICENSE_KEY={{ new_relic_license_key }}
21+
-e NEW_RELIC_LOG_LEVEL=fatal
22+
-e NEW_RELIC_NO_CONFIG_FILE=true
1923
-e NODE_ENV={{ node_env }}
2024
-e RABBITMQ_HOSTNAME={{ rabbit_host_address }}
2125
-e RABBITMQ_PASSWORD={{ rabbit_password }}

0 commit comments

Comments
 (0)