MaterializeInc / materialize

The data warehouse for operational workloads.
https://materialize.com
Other
5.67k stars 458 forks source link

debugging: Improve workflows for debugging async Rust code #22855

Open ParkMyCar opened 8 months ago

ParkMyCar commented 8 months ago

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

guswynn commented 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:

Ill add stuff if I think there is more, but I think this is my main list!

ParkMyCar commented 6 months ago

Tagging this in as general work that would be great to improve in tracing: