diff --git a/playbooks/roles/edxapp/templates/newrelic.ini.j2 b/playbooks/roles/edxapp/templates/newrelic.ini.j2 index 26bb86bf2a3..7c3d3ad9c8c 100644 --- a/playbooks/roles/edxapp/templates/newrelic.ini.j2 +++ b/playbooks/roles/edxapp/templates/newrelic.ini.j2 @@ -26,4 +26,10 @@ # Transactions). This lets us do things like facet front end load time by # `course_id`. # +{% if COMMON_ENVIRONMENT == "stage" or COMMON_DEPLOYMENT == "edge" %} +browser_monitoring.enabled=false +browser_monitoring.auto_instrument=false +browser_monitoring.attributes.enabled=false +{% else %} browser_monitoring.attributes.enabled=true +{% endif %}