Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(sdk): Use relative sample rates for tasks (#78196)
While trace sample rates for most celery tasks are configured through settings, some have been hard-coded to 10%. Originally, this would have lowered their sample rate, but as we've set a different backend sample rate now, they actually have a higher volume. This makes the task sample rate relative to `SENTRY_BACKEND_APM_SAMPLING`, which is the base sample rate for the entire backend. Exception are tasks with a sample rate of 100%.
- Loading branch information