From 31d23dfe914d8723e4f4e032a1151a9fa06003ab Mon Sep 17 00:00:00 2001 From: Ed Woodward Date: Fri, 28 Oct 2022 08:44:46 -0500 Subject: [PATCH] Removed ScoutAPM since it is no longer used --- openstax/settings/base.py | 6 ------ openstax/settings/test.py | 2 -- requirements/base.txt | 1 - requirements/locked-requirements.txt | 5 ----- 4 files changed, 14 deletions(-) diff --git a/openstax/settings/base.py b/openstax/settings/base.py index f3318d817..84ba88d37 100644 --- a/openstax/settings/base.py +++ b/openstax/settings/base.py @@ -179,7 +179,6 @@ WSGI_APPLICATION = 'openstax.wsgi.application' INSTALLED_APPS = [ - 'scout_apm.django', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', @@ -415,11 +414,6 @@ WAGTAILIMAGES_MAX_UPLOAD_SIZE = 2 * 1024 * 1024 # 2MB -# Scout -SCOUT_KEY = os.getenv('SCOUT_KEY', '') -SCOUT_MONITOR = bool(SCOUT_KEY) -SCOUT_NAME = os.getenv('SCOUT_NAME', f"openstax-cms ({ENVIRONMENT})") - # Sentry sentry_sdk.init( dsn=os.getenv('SENTRY_DSN'), diff --git a/openstax/settings/test.py b/openstax/settings/test.py index c32af8a3f..40f1920b8 100644 --- a/openstax/settings/test.py +++ b/openstax/settings/test.py @@ -18,8 +18,6 @@ #CNX URL for viewing book online CNX_URL = 'https://staging.cnx.org/' -SCOUT_MONITOR = False - DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', diff --git a/requirements/base.txt b/requirements/base.txt index fda859151..f4883b09c 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -15,7 +15,6 @@ mapbox==0.18.0 psycopg2>=2.9.2 pycryptodome==3.14.1 # for using the SSO cookie from accounts PyJWE==1.0.0 -scout-apm sentry-sdk simple_salesforce==1.11.6 social-auth-app-django==5.0.0 diff --git a/requirements/locked-requirements.txt b/requirements/locked-requirements.txt index 79d53ce3c..46573a6d8 100644 --- a/requirements/locked-requirements.txt +++ b/requirements/locked-requirements.txt @@ -143,11 +143,6 @@ rich-click==1.4 rich==12.4.1 commonmark==0.9.1 Pygments==2.12.0 -scout-apm==2.25.1 - asgiref==3.5.2 - psutil==5.9.0 - urllib3==1.26.9 - wrapt==1.14.1 selenium==4.1.5 trio==0.20.0 async-generator==1.10