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

  • @bolekjakistam1018
    @bolekjakistam1018Ай бұрын

    Great talk!

  • @altairbueno5637
    @altairbueno56372 жыл бұрын

    This talk was so good omg

  • @elahn_i
    @elahn_i4 жыл бұрын

    That's a well-shaved yak. Thanks, Eliza!

  • @harambeexpress
    @harambeexpress4 жыл бұрын

    I can't wait to use this.

  • @Dygear
    @Dygear2 жыл бұрын

    GNU/Logging made me giggle.

  • @EvanCarrollTheGreat
    @EvanCarrollTheGreat2 жыл бұрын

    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

    @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 😅

  • @AndrewBanchich
    @AndrewBanchich4 жыл бұрын

    Awesome talk!

  • @dynfoxx
    @dynfoxx4 жыл бұрын

    Great talk!

Келесі