Skip to content

Commit

Permalink
Revert to ENV for SENTRY_PROFILES_SAMPLE_RATE
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Nov 8, 2023
1 parent 5e5d9c4 commit c6af99a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pombola/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,5 +723,6 @@ def show_toolbar(request):
integrations=[DjangoIntegration()],
environment=os.environ.get("ENVIRONMENT"),
traces_sample_rate=os.environ.get("SENTRY_TRACES_SAMPLE_RATE", 1.0),
profiles_sample_rate=1.0
profiles_sample_rate=os.environ.get(
"SENTRY_PROFILES_SAMPLE_RATE", 1.0),
)

0 comments on commit c6af99a

Please sign in to comment.