Skip to content

Commit

Permalink
feat: disable edxapp legacy browser in newrelic.ini.j2 stage and edge (
Browse files Browse the repository at this point in the history
…#40)

Co-authored-by: Tim McCormack <tmccormack@edx.org>
  • Loading branch information
robrap and timmc-edx authored Jun 20, 2024
1 parent 651e0c5 commit 4ef1a56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions playbooks/roles/edxapp/templates/newrelic.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit 4ef1a56

Please sign in to comment.