
About this workshop
Your Rust application has finally been deployed to production! Nice! But is it working? This workshop will introduce you to a comprehensive toolkit to detect, troubleshoot and resolve issues in your Rust APIs.
This workshop is designed for developers who are operating Rust services in production-like environments, or are preparing to do so.
Bookable for teams
Syllabus
Structured logging (tracing)
An introduction to thetracinginstrumentation library, covering both how to instrument your code (capturing fields, log levels, macros) and how to process the resulting telemetry data in your application (subscriber configuration, logging levels, log filtering).Error handling
We will cover Rust’sErrortrait, with a focus on the information that can be retrieved and recorded in your logs; we will also spend some time on logging patterns (e.g. when should an error be logged?).Panic handling
You should always manage to capture details about what went wrong, even if it’s due to an uncaught panic rather than an error. We will review panic hooks and integrate them in ourtracingsetup.Metrics
Structured logs are important, but they don’t tell the full story. We will look at how to capture metric data using themetricslibrary, as a tool for designing alarms as well troubleshooting faulty behaviour.
Our Attendees Say...
Throughly Enjoyed the excercises format. Looking forward to more workshops for middle to advanced rust developers […]
Thank you very much for this informative workshop. The individual exercises build on each other very well. Direct practice makes it easier to understand the topics. […]
Who we are
Mainmatter has been active in the Rust ecosystem for years, creating the 100 Exercises to Learn Rust course, the C to Rust Migration Book organizing EuroRust, and contributing to open source.
We help teams adopt and build on Rust with confidence via trainings and workshops, hands-on team reinforcement, codebase assessments, and more.
We have trained developers at
Bookable for teams

