Skip to content

Commit

Permalink
Fix netbox-community#15992: Removed integrations for sentry-sdk
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tobiasge committed May 7, 2024
1 parent d759274 commit bac1675
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion netbox/netbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ def _setting(name, default=None):
sentry_sdk.init(
dsn=SENTRY_DSN,
release=VERSION,
integrations=[sentry_sdk.integrations.django.DjangoIntegration()],
sample_rate=SENTRY_SAMPLE_RATE,
traces_sample_rate=SENTRY_TRACES_SAMPLE_RATE,
send_default_pii=True,
Expand Down

0 comments on commit bac1675

Please sign in to comment.