Skip to content

Commit

Permalink
Enable Sentry profile sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Dec 11, 2023
1 parent 64c0f63 commit 2c3e45b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydis_site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
dsn=env('SITE_DSN'),
integrations=[DjangoIntegration(), LoggingIntegration(level=logging.DEBUG, event_level=logging.ERROR)],
send_default_pii=True,
release=f"site@{GIT_SHA}"
release=f"site@{GIT_SHA}",
profiles_sample_rate=0.5,
)

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
Expand Down

0 comments on commit 2c3e45b

Please sign in to comment.