To reduce sentry performance quota, send refetched requests with a special Header. Create middleware that checks for this header and stops sampling if header is present
with configure_scope() as scope:
if scope.transaction:
scope.transaction.sampled = False
To reduce sentry performance quota, send refetched requests with a special Header. Create middleware that checks for this header and stops sampling if header is present