diff --git a/apiserver/plane/settings/production.py b/apiserver/plane/settings/production.py index 2f2104397..acc1f34fe 100644 --- a/apiserver/plane/settings/production.py +++ b/apiserver/plane/settings/production.py @@ -71,6 +71,8 @@ CORS_ALLOW_HEADERS = [ CORS_ALLOW_CREDENTIALS = True +INSTALLED_APPS += ("scout_apm.django",) + STORAGES = { "staticfiles": { "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", @@ -270,3 +272,8 @@ GITHUB_ACCESS_TOKEN = os.environ.get("GITHUB_ACCESS_TOKEN", False) ENABLE_SIGNUP = os.environ.get("ENABLE_SIGNUP", "1") == "1" + +# Scout Settings +SCOUT_MONITOR = os.environ.get("SCOUT_MONITOR", False) +SCOUT_KEY = os.environ.get("SCOUT_KEY", "") +SCOUT_NAME = "Plane" diff --git a/apiserver/requirements/base.txt b/apiserver/requirements/base.txt index 3421d9bb1..76c3dace9 100644 --- a/apiserver/requirements/base.txt +++ b/apiserver/requirements/base.txt @@ -31,4 +31,5 @@ slack-sdk==3.21.3 celery==5.3.1 django_celery_beat==2.5.0 psycopg-binary==3.1.9 -psycopg-c==3.1.9 \ No newline at end of file +psycopg-c==3.1.9 +scout-apm==2.26.1 \ No newline at end of file