File:Decrusting the tracing crate.webm

Summary

Description
English: In this stream, we peel back the crust on the tracing crate —

https://github.com/tokio-rs/tracing/ — and explore its interface, structure, and mechanisms. We talk about spans, events, their attributes and fields, and how to think about them in async code. We also dig into into what subscribers are, how they pick up events, and how you can construct your own subscribers through the layer abstraction.

For more details about tracing, see https://docs.rs/tracing/latest/tracing/.

0:00:00 Introduction 0:03:00 Spans and events 0:38:56 Spans across thread boundaries 0:45:30 Spans in async context 1:02:20 Making format subscriber print span enter/exits 1:06:14 Compatibility with log 1:12:39 Event and span targets 1:20:51 The Subscriber trait 1:45:05 tracing-subscriber and the fmt subscriber 1:49:31 Blocking in Subscribers 1:54:50 The Layer abstraction 2:12:00 Dispatch 2:13:45 Per-layer filtering 2:33:34 Changing subscriber during runtime 2:41:59 Getting from the current subscriber to a layer 2:45:16 Do subscribers have layers? 2:47:06 Choosing logging levels 2:49:07 tracing for logging vs debugging 2:49:57 Moving from console logging to TUI logging at runtime 2:52:09 Other tracing-related crates

Live version with chat: https://youtube.com/live/2tm2zH-ECVw
Date
Source YouTube: Decrusting the tracing crate – View/save archived versions on archive.orgCategory:Media from YouTube
Author Jon Gjengset

Licensing

This video, screenshot or audio excerpt was released under the Creative Commons license option on YouTube before August 2025. (YouTube changed the license version from CC BY 3.0 to 4.0 on August 1; this was not retroactive.)
For videos uploaded or licensed after July 2025 use {{YouTube CC-BY 4.0}}
To the uploader: You must provide a link (URL) to the original file and the authorship information if available.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution:
Jon Gjengset
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Category:CC-BY-3.0#Decrusting%20the%20tracing%20crate.webm Category:Media from YouTube#Decrusting%20the%20tracing%20crate.webm
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions.
Category:License review needed (video)#153341590 Category:Uploaded with video2commons Category:Videos of Rust (programming language)
Category:CC-BY-3.0 Category:License review needed (video) Category:Media from YouTube Category:Uploaded with video2commons Category:Videos of Rust (programming language)