Skip to content

Commit fac497e

Browse files
committed
Set profiles_sample_rate for Sentry
1 parent f30b77f commit fac497e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pombola/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ def before_send(event, hint):
724724
integrations=[DjangoIntegration()],
725725
before_send=before_send,
726726
traces_sample_rate=os.environ.get("SENTRY_TRACES_SAMPLE_RATE", 0.01),
727+
profiles_sample_rate=os.environ.get("SENTRY_PROFILES_SAMPLE_RATE", 1),
727728
# Associate users to errors
728729
send_default_pii=True
729730
)

0 commit comments

Comments
 (0)