Skip to content

Commit

Permalink
Test:sentry profiling (uselotus#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnida authored Jan 8, 2023
1 parent 3a68b9d commit 550dc63
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 74 deletions.
2 changes: 1 addition & 1 deletion backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ psycopg2 = ">=2.9.3,<2.10"
python-dateutil = ">=2.8.2,<2.9"
python-dotenv = ">=0.20.0,<0.21"
redis = ">=3.5.3,<4.0"
sentry-sdk = ">=1.9.0,<1.10"
sentry-sdk = ">=1.11.0"
stripe = ">=4.0.2,<4.1"
gunicorn = "*"
whitenoise = "*"
Expand Down
154 changes: 81 additions & 73 deletions backend/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions backend/lotus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
# If you wish to associate users to errors (assuming you are using
# django.contrib.auth) you may enable sending PII data.
send_default_pii=True,
_experiments={
"profiles_sample_rate": 1.0,
},
)


Expand Down

0 comments on commit 550dc63

Please sign in to comment.