+ SENTRY_ENVIRONMENT in env file

This commit is contained in:
Phil Zhitnikov 2024-05-26 02:41:13 +04:00
parent 4feb41fb9e
commit 5b08af6948
2 changed files with 5 additions and 1 deletions

View File

@ -22,3 +22,6 @@ FLOWER_BASIC_AUTH="login:pwd"
# Logging
SENTRY_DSN=""
# production/stage
SENTRY_ENVIRONMENT=""

View File

@ -251,6 +251,7 @@ if SENTRY_DSN:
# of sampled transactions.
# We recommend adjusting this value in production.
profiles_sample_rate=1.0,
environment=get_secret("SENTRY_ENVIRONMENT"),
)
# Celery