Skip to content

Commit

Permalink
Merge pull request #1706 from MTG/sentry_traces
Browse files Browse the repository at this point in the history
enable sentry transaction sampling
  • Loading branch information
ffont authored Nov 2, 2023
2 parents c87270d + 134d64c commit 07b5e62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions freesound/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,9 @@
if SENTRY_DSN:
sentry_sdk.init(
dsn=SENTRY_DSN,
default_integrations=False,
integrations=[DjangoIntegration()],
send_default_pii=True
send_default_pii=True,
traces_sample_rate=0.1,
)


Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pysndfile==1.4.4
pytz==2023.3
PyYAML==6.0.1
redis==3.2.0
sentry-sdk~=1.31
sentry-sdk[django]~=1.31
Sphinx==1.6.3
stripe==2.28.1
xlrd==2.0.1 # for reading .xls files (but not .xlsx)
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ django==3.2.17
# django-redis
# django-silk
# djangorestframework
# sentry-sdk
django-admin-sortable==2.2.4
# via -r requirements.in
django-amazon-ses==4.0.1
Expand Down Expand Up @@ -281,7 +282,7 @@ requests==2.31.0
# zenpy
s3transfer==0.6.1
# via boto3
sentry-sdk==1.31.0
sentry-sdk[django]==1.31.0
# via -r requirements.in
sgmllib3k==1.0.0
# via feedparser
Expand Down

0 comments on commit 07b5e62

Please sign in to comment.