-
Notifications
You must be signed in to change notification settings - Fork 582
Closed
Labels
A-commonArea:common issues that not related to specific pillarArea:common issues that not related to specific pillarenhancementNew feature or requestNew feature or request
Description
Related Problems?
No response
Describe the solution you'd like:
The TokioCurrentThread
spawns threads without names. This makes debugging hard. For example:
thread '<unnamed>' panicked at /home/john/.rhack/tokio-1.37.0/src/runtime/time/entry.rs:557:9:
A Tokio 1.x context was found, but it is being shutdown.
is quite hard to trace back to otel.
I would like each thread spawned by this library to be named
Considered Alternatives
Use the multithreaded tokio runtime which does not spawn. This is currently causing deadlocks (#1395), so its not acceptable.
Additional Context
No response
cijothomas and ThomsonTan
Metadata
Metadata
Assignees
Labels
A-commonArea:common issues that not related to specific pillarArea:common issues that not related to specific pillarenhancementNew feature or requestNew feature or request