Issue
Sentry and the Django SDK are configured but I'm not receiving events or the sample rates are wrong.
Applies To
- Customers on Django SDK
Symptoms
- Sentry will not respect SDK options.
- Sentry is being initialized multiple times when I only initialized Sentry once.
For example, after enabling the debug option, I am seeing '[Profiling] Continuous Profiler is already set up'
show up in my logs instead of '[Profiling] Setting up
continuous profiler in thread mode'
.
Resolution
Some dependencies might initialize a second Sentry client that can conflict with existing Sentry configurations. Dependencies known to cause this include:
- django-q
- django-q-sentry
If you encounter this problem, try removing the dependency from your project.