Skip to content

Commit

Permalink
fix: Try disabling Mako template instrumentation in New Relic [stg/edge]
Browse files Browse the repository at this point in the history
We'll deploy to prod if this looks OK.
  • Loading branch information
timmc-edx committed Jul 22, 2024
1 parent 6ee60ab commit 73b8ec3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions playbooks/roles/edxapp/templates/newrelic.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,17 @@
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
# seeing in https://github.com/openedx/edx-platform/issues/35151

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

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

{% endif %}

0 comments on commit 73b8ec3

Please sign in to comment.