Skip to content

Commit

Permalink
Set profiles_sample_rate for Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Oct 23, 2023
1 parent f30b77f commit fac497e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pombola/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ def before_send(event, hint):
integrations=[DjangoIntegration()],
before_send=before_send,
traces_sample_rate=os.environ.get("SENTRY_TRACES_SAMPLE_RATE", 0.01),
profiles_sample_rate=os.environ.get("SENTRY_PROFILES_SAMPLE_RATE", 1),
# Associate users to errors
send_default_pii=True
)

0 comments on commit fac497e

Please sign in to comment.