Skip to content

Commit

Permalink
Merge pull request #207 from OpenUpSA/sys/enable-sentry-profiling
Browse files Browse the repository at this point in the history
Sys/enable sentry profiling
  • Loading branch information
paulmwatson authored Oct 23, 2023
2 parents 4df3e0c + b15cb3a commit f30b77f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pombola/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ def before_send(event, hint):
environment=os.environ.get("ENVIRONMENT"),
integrations=[DjangoIntegration()],
before_send=before_send,
traces_sample_rate=0.01,
traces_sample_rate=os.environ.get("SENTRY_TRACES_SAMPLE_RATE", 0.01),
# Associate users to errors
send_default_pii=True
)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ zipstream==1.1.4
xlrd==1.2.0

# Sentry
sentry-sdk==1.14.0
sentry-sdk==1.32.0

0 comments on commit f30b77f

Please sign in to comment.