2 people in front of a notebook with 3 charts on the screen, only their arms visible, one points at the screen

Workshop: 1 day

You can't fix what you can't see: telemetry for Rust APIs

Bookable for teams – on-site or remote

anchorWorkshop description

anchorWorkshop overview

  1. anchorStructured logging (tracing)

    An introduction to the tracing instrumentation 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).

  2. anchorError handling

    We will cover Rust’s Error trait, 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?).

  3. anchorPanic 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 our tracing setup.

  4. anchorMetrics

    Structured logs are important, but they don’t tell the full story. We will look at how to capture metric data using the metrics library, as a tool for designing alarms as well troubleshooting faulty behaviour.

anchorYour mentor

Luca Palmieri
with 

Luca Palmieri

Principal Engineering Consultant

Luca Palmieri builds technology products for a living. His current focus is on backend development, software architecture and the Rust programming language. He is the author of "Zero to Production in Rust".

Three smiling team members looking at a laptop

Book this workshop

Our mentors look forward to working with your team and unlocking new capabilities.
Get in touch