From b4321764a1c16f1a6fba16dca0528696bbbbe09c Mon Sep 17 00:00:00 2001 From: Spandan Barve <114365550+marsian83@users.noreply.github.com> Date: Thu, 26 Jan 2023 12:51:23 +0530 Subject: [PATCH] Remove new relic frontend monitor - disabled browser autorun Added ``` newrelic.agent.disable_browser_autorum() ``` to contentcuration/contentcuration/wsgi.py This call disables automatic browser monitoring This has been disabled as we're getting an error coming from New Relic , but since we haven't been using it, it'd be no harm to just disable it --- contentcuration/contentcuration/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentcuration/contentcuration/wsgi.py b/contentcuration/contentcuration/wsgi.py index 9fa3a86379..94e4dac5a8 100644 --- a/contentcuration/contentcuration/wsgi.py +++ b/contentcuration/contentcuration/wsgi.py @@ -13,7 +13,7 @@ # Attach newrelic APM try: import newrelic.agent - + newrelic.agent.disable_browser_autorum() newrelic.agent.initialize() except ImportError: pass