mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix #15992: Removed integrations for sentry-sdk
According to the Sentry Python SDK documentation setting the integrations manually is only needed when the integration configuration needs to be changed. See: https://docs.sentry.io/platforms/python/integrations/django/#options
This commit is contained in:
committed by
Jeremy Stretch
parent
d7592744d4
commit
b4486b4d30
@ -522,7 +522,6 @@ if SENTRY_ENABLED:
|
|||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=SENTRY_DSN,
|
dsn=SENTRY_DSN,
|
||||||
release=VERSION,
|
release=VERSION,
|
||||||
integrations=[sentry_sdk.integrations.django.DjangoIntegration()],
|
|
||||||
sample_rate=SENTRY_SAMPLE_RATE,
|
sample_rate=SENTRY_SAMPLE_RATE,
|
||||||
traces_sample_rate=SENTRY_TRACES_SAMPLE_RATE,
|
traces_sample_rate=SENTRY_TRACES_SAMPLE_RATE,
|
||||||
send_default_pii=True,
|
send_default_pii=True,
|
||||||
|
Reference in New Issue
Block a user