Skip to content

Commit

Permalink
Add sentry tracing to the app (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb authored Nov 20, 2023
1 parent 7d56a87 commit d2d72fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
release=GIT_COMMIT,
integrations=[DjangoIntegration(), RedisIntegration()],
send_default_pii=True, # Enable associating exceptions to users
enable_tracing=env.bool("SENTRY_ENABLE_TRACING", False),
traces_sample_rate=env.float("SENTRY_TRACES_SAMPLE_RATE", 0.0),
)

# Allow all hosts
Expand Down

0 comments on commit d2d72fd

Please sign in to comment.