In #38561 I enabled tracing for a Celery task which I could only make it work locally with a trick like this.
This allows me to report transactions (sample) from my local dev.