Skip to content

Commit

Permalink
Hard code 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 4c664c7 commit 5e5d9c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pombola/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,8 @@ def show_toolbar(request):
if os.environ.get("SENTRY_DSN"):
sentry_sdk.init(
dsn=os.environ.get("SENTRY_DSN"),
integrations=[DjangoIntegration()],
environment=os.environ.get("ENVIRONMENT"),
traces_sample_rate=os.environ.get("SENTRY_TRACES_SAMPLE_RATE", 1.0),
profiles_sample_rate=os.environ.get(
"SENTRY_PROFILES_SAMPLE_RATE", 1.0),
profiles_sample_rate=1.0
)

0 comments on commit 5e5d9c4

Please sign in to comment.