I’m using Pyramid and the newrelic agent v18.104.22.168 on py.3.4
In one of my transaction, I’m calling concurrent.futures.ThreadPoolExecutor to make a thread pool to execute certain external requests. Turns out I don’t see these requests as “external services” in the newrelic apm UI. Is there a way I can instrument these calls (perhaps with a decorator) to tie these threads to the current transaction so that they correctly show up?
If it’s not possible, is it on the roadmap at some point? I feel like the functionality has to be there somewhere in the python agent already.
New Relic edit
- I want this, too
- I have more info to share (reply below)
- I have a solution for this
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.