Skip to content

Commit

Permalink
chore(Sentry): add Sentry environment variable (net or org). ref #400
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Aug 28, 2024
1 parent 1bb28d8 commit 554fc3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@
sentry_sdk.init(
dsn=os.getenv("SENTRY_DSN"),
integrations=[DjangoIntegration()],
environment=os.getenv("ENVIRONMENT"),
# Set traces_sample_rate to 1.0 to capture 100% of transactions for tracing. # noqa
traces_sample_rate=1.0,
# Set profiles_sample_rate to 1.0 to profile 100% of sampled transactions. # noqa
Expand Down

0 comments on commit 554fc3f

Please sign in to comment.