mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
Merge pull request #1602 from makeplane/dev/monitoring_settings
dev: add server monitoring configuration
This commit is contained in:
commit
89210accae
@ -71,6 +71,8 @@ CORS_ALLOW_HEADERS = [
|
|||||||
|
|
||||||
CORS_ALLOW_CREDENTIALS = True
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
|
|
||||||
|
INSTALLED_APPS += ("scout_apm.django",)
|
||||||
|
|
||||||
STORAGES = {
|
STORAGES = {
|
||||||
"staticfiles": {
|
"staticfiles": {
|
||||||
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
|
"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"
|
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"
|
||||||
|
@ -32,3 +32,4 @@ celery==5.3.1
|
|||||||
django_celery_beat==2.5.0
|
django_celery_beat==2.5.0
|
||||||
psycopg-binary==3.1.9
|
psycopg-binary==3.1.9
|
||||||
psycopg-c==3.1.9
|
psycopg-c==3.1.9
|
||||||
|
scout-apm==2.26.1
|
Loading…
Reference in New Issue
Block a user