Skip to content

Commit

Permalink
fix: Don't let NR instrument mako templates in prod, either
Browse files Browse the repository at this point in the history
prod is where we actually saw the issue, so this will be the real test.
  • Loading branch information
timmc-edx committed Jul 22, 2024
1 parent 0665768 commit e6cebb9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions playbooks/roles/edxapp/templates/newrelic.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ browser_monitoring.enabled=false
browser_monitoring.auto_instrument=false
browser_monitoring.attributes.enabled=false

{% if COMMON_ENVIRONMENT == "stage" or COMMON_DEPLOYMENT == "edge" %}

# Experiment 2024-07-22: See if instrumentation of Mako templates is
# related to the recursive uncaught error handling problem we're
Expand All @@ -41,5 +40,3 @@ enabled = false

[import-hook:mako.template]
enabled = false

{% endif %}

0 comments on commit e6cebb9

Please sign in to comment.