Commit cbfc9a39 by Arbab Nazar

Merge pull request #2257 from edx/arbab/devops-2715

Separate installing datadog and new relic on sanboxes
parents 5f0598e6 9082a731
...@@ -111,8 +111,12 @@ if [[ -z $instance_type ]]; then ...@@ -111,8 +111,12 @@ if [[ -z $instance_type ]]; then
instance_type="t2.medium" instance_type="t2.medium"
fi fi
if [[ -z $enable_monitoring ]]; then if [[ -z $enable_newrelic ]]; then
enable_monitoring="false" enable_newrelic="false"
fi
if [[ -z $enable_datadog ]]; then
enable_datadog="false"
fi fi
# Lowercase the dns name to deal with an ansible bug # Lowercase the dns name to deal with an ansible bug
...@@ -186,9 +190,9 @@ COMMON_USER_INFO: ...@@ -186,9 +190,9 @@ COMMON_USER_INFO:
github: true github: true
type: admin type: admin
USER_CMD_PROMPT: '[$name_tag] ' USER_CMD_PROMPT: '[$name_tag] '
COMMON_ENABLE_NEWRELIC_APP: $enable_monitoring COMMON_ENABLE_NEWRELIC_APP: $enable_newrelic
COMMON_ENABLE_DATADOG: $enable_monitoring COMMON_ENABLE_DATADOG: $enable_datadog
FORUM_NEW_RELIC_ENABLE: $enable_monitoring FORUM_NEW_RELIC_ENABLE: $enable_newrelic
EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-${dns_name}-edxapp-lms EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-${dns_name}-edxapp-lms
EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-${dns_name}-edxapp-cms EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-${dns_name}-edxapp-cms
EDXAPP_NEWRELIC_WORKERS_APPNAME: sandbox-${dns_name}-edxapp-workers EDXAPP_NEWRELIC_WORKERS_APPNAME: sandbox-${dns_name}-edxapp-workers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment