-
-
Save essykings/5fb4630de1a789219b27f143d24ddaae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sentry_sdk | |
from sentry_sdk.integrations.django import DjangoIntegration | |
sentry_sdk.init( | |
dsn="https://e42998f408384557b1ad3bf6cf28dee6@o1244444.ingest.sentry.io/6400929", | |
integrations=[DjangoIntegration()], | |
# Set traces_sample_rate to 1.0 to capture 100% | |
# of transactions for performance monitoring. | |
# We recommend adjusting this value in production. | |
traces_sample_rate=1.0, | |
# If you wish to associate users to errors (assuming you are using | |
# django.contrib.auth) you may enable sending PII data. | |
send_default_pii=True | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment