Repository navigation
Tracing Through ProcessPoolExecutor
#8264
Mr0grog
started this conversation in
Features / New Integrations / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have an app that uses
ProcessPoolExecutorto run CPU-heavy work in parallel and to isolate it from the rest of the service it’s inside of. While adding tracing to it, I discovered that spans from code that the executor runs don’t ever show up in Sentry.For example:
That mostly makes sense (it is running in a different process, after all). As a workaround, I used Sentry’s distributed tracing tooling (
get_traceparent(),get_baggage(), andcontinue_trace()) to solve the problem.But I would love it if there was an integration to automatically solve this. For example, I’m thinking something like:
All reactions