diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3f2bde2d..020f8bf82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,4 +101,4 @@ jobs: SENTRY_URL: https://sentry.beryju.org with: tagName: 0.9.0-stable - environment: production + environment: beryjuorg-prod diff --git a/passbook/root/settings.py b/passbook/root/settings.py index f471e3520..3192b4e38 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -274,12 +274,14 @@ if not DEBUG and _ERROR_REPORTING: LOGGER.info("Error reporting is enabled.") sentry_init( dsn="https://33cdbcb23f8b436dbe0ee06847410b67@sentry.beryju.org/3", - integrations=[DjangoIntegration(), CeleryIntegration()], + integrations=[ + DjangoIntegration(transaction_style="function_name"), + CeleryIntegration(), + ], before_send=before_send, release="passbook@%s" % __version__, traces_sample_rate=1.0, environment=CONFIG.y("error_reporting.environment", "customer"), - transaction_style="function_name", send_default_pii=CONFIG.y_bool("error_reporting.send_pii", False), )