RustConf 2019 - Tokio-Trace: Scoped, Structured, Async-Aware Diagnostics by Eliza Weisman
Ғылым және технология
RustConf 2019 - Tokio-Trace: Scoped, Structured, Async-Aware Diagnostics by Eliza Weisman
tokio-trace is a new set of Rust libraries that provide primitives for recording scoped, structured, and async-aware diagnostics. Unlike traditional logging, tokio-trace emits structured diagnostics that model the contextual and causal relationships between between events. tokio-trace was designed by the tokio project to solve problems with logging in asynchronous applications, but may be used in any Rust codebase. This talk presents the motivation and influences behind tokio-trace, introduces its core concepts, and demonstrates how it can be used.
Пікірлер: 9
Great talk!
This talk was so good omg
That's a well-shaved yak. Thanks, Eliza!
I can't wait to use this.
GNU/Logging made me giggle.
Great talk, but 22:04 seems to be explicitly against the docs "Warning: in asynchronous code that uses async/await syntax, Span::enter should be used very carefully or avoided entirely. Holding the drop guard returned by Span::enter across .await points will result in incorrect traces." Am I missing something here?
@MatthewScheffel
2 жыл бұрын
This warning was added around version 0.1.16 which was released - as far as I can tell from the git repo - after this talk. I think all that you are missing is that you arrived at this talk from a time machine 😅
Awesome talk!
Great talk!