From e6cebb9d9b26d94e3f5108de8fad0abae7c6c303 Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Mon, 22 Jul 2024 18:49:31 +0000 Subject: [PATCH] fix: Don't let NR instrument mako templates in prod, either prod is where we actually saw the issue, so this will be the real test. --- playbooks/roles/edxapp/templates/newrelic.ini.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/playbooks/roles/edxapp/templates/newrelic.ini.j2 b/playbooks/roles/edxapp/templates/newrelic.ini.j2 index 5cf21120bf9..86c8569cab8 100644 --- a/playbooks/roles/edxapp/templates/newrelic.ini.j2 +++ b/playbooks/roles/edxapp/templates/newrelic.ini.j2 @@ -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 @@ -41,5 +40,3 @@ enabled = false [import-hook:mako.template] enabled = false - -{% endif %}