Open ParkMyCar opened 8 months ago
tokio-console maintains what "child" futures are currently being polled in a task and a history of what has executed. Another way to think about this would be a streaming view of OpenTelemetry traces.
this is partially covered by the unstable tasktrace
feature of tokio, but the history idea is interesting!
@ParkMyCar I think this is my main list of things that would help us here:
tokio-console
protocol, so we can build mz without --cfg=tokio_unstable
tokio::sync
tracing
fields. This would looks nice in tokio-console
, even better if you can search by it
tokio-console
ui on which tasks are referring to which channels, and how they are connectedtasktrace
feature of tokio
tracing
integrationreload::Layer
, and issues around sharing registries among multiple subscribers (for things like the EXPLAIN
impl) Ill add stuff if I think there is more, but I think this is my main list!
Tagging this in as general work that would be great to improve in tracing
:
This issue is intended to track any work related to improving debugging async Rust, and serve as a place to centralize all of the improvements we would like to see.
Improvements
tokio-console
maintains what "child" futures are currently being polled in a task and a history of what has executed. Another way to think about this would be a streaming view of OpenTelemetry traces.tokio-console
associates async resources, e.g. locks and channels, with the tasks current awaiting them.