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 )