diff --git a/pombola/settings/base.py b/pombola/settings/base.py index c08676f9c..f3298cde6 100644 --- a/pombola/settings/base.py +++ b/pombola/settings/base.py @@ -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 ) diff --git a/requirements.txt b/requirements.txt index 11ec29101..24ab23473 100644 --- a/requirements.txt +++ b/requirements.txt @@ -205,4 +205,4 @@ zipstream==1.1.4 xlrd==1.2.0 # Sentry -sentry-sdk==1.14.0 +sentry-sdk==1.32.0