How to filter Django routes and Celery tasks using the Python SDK

We have a few routes/tasks that we don’t need to monitor in Sentry since they are not customer facing, but are eating up all our transactions quota.

The docs have not been helpful with actual examples of how to filter certain transactions for Django and neither was support :confused:

I’m sharing how we currently filter specific routes/tasks in our Django API in case someone else comes across this issue, they have a point to start from.

Hopefully I can get feedback on this approach from a Sentry team member and ideally they can use it as an example for others.