Observability and Tracing
TeaQL Rust integrates deeply with the tracing ecosystem.
Setup
Enable the tracing subscriber in your main.rs:
tracing_subscriber::fmt::init();
All generated TeaQL queries will emit spans that include the target entity, query intention, and duration.
Tokio Console
For deep inspection of async tasks, you can use tokio-console to track down suspended tasks or potential async deadlocks caused by holding locks across .await points.