Because * We'd like to track Nimbus UI as a separate Sentry project This commit * Adds a second Sentry DSN just for Nimbus UI
This commit is contained in:
Родитель
e104b275d7
Коммит
baf0b5083f
|
@ -40,9 +40,10 @@ REDIS_HOST=redis
|
|||
REDIS_PORT=6379
|
||||
SECRET_KEY=SOMETHINGSECURE
|
||||
SENTRY_DSN=
|
||||
SENTRY_DSN_NIMBUS_UI=
|
||||
SKIP_REVIEW_ACCESS_CONTROL_FOR_DEV_USER=true
|
||||
STATSD_BACKEND=markus.backends.logging.LoggingMetrics
|
||||
STATSD_HOST=
|
||||
STATSD_PORT=
|
||||
STATSD_PREFIX=experimenter
|
||||
USE_GOOGLE_ANALYTICS=false
|
||||
USE_GOOGLE_ANALYTICS=false
|
||||
|
|
|
@ -18,7 +18,7 @@ def features(request):
|
|||
"APP_CONFIG": urllib.parse.quote(
|
||||
json.dumps(
|
||||
{
|
||||
"sentry_dsn": settings.SENTRY_DSN,
|
||||
"sentry_dsn": settings.SENTRY_DSN_NIMBUS_UI,
|
||||
"graphql_url": reverse("nimbus-api-graphql"),
|
||||
}
|
||||
)
|
||||
|
|
|
@ -225,6 +225,7 @@ LOGGING = {
|
|||
|
||||
# Sentry configuration
|
||||
SENTRY_DSN = config("SENTRY_DSN", default=None)
|
||||
SENTRY_DSN_NIMBUS_UI = config("SENTRY_DSN_NIMBUS_UI", default=None)
|
||||
if SENTRY_DSN: # pragma: no cover
|
||||
RAVEN_CONFIG = {
|
||||
"dsn": SENTRY_DSN,
|
||||
|
|
Загрузка…
Ссылка в новой задаче