Looks like they have added a builder for tokio::task[1] that will allow you to set a name. It's unstable at the moment so you would need to set the tokio_unstable cfg flag.
Exactly, this is the first release of Tokio Console. We will keep adding functionality over time, which will help inform the APIs in Tokio to better provide the necessary instrumentation.
I expect the new APIs like the task builder will stabilize (no longer require the `tokio_unstable` flag) over the course of 2022.
carllerche|4 years ago
I expect the new APIs like the task builder will stabilize (no longer require the `tokio_unstable` flag) over the course of 2022.