Posts tagged: Systems Programming

crab yellow

Logs and tracing in Rust: From Terminal to Grafana

How to ship structured logs from a Rust application to Grafana Loki and query them, with a complete local setup using Docker Compose.

Read More
crab green

Logs and tracing in Rust: Structured Fields and Spans

How to use structured fields and spans in the Rust tracing crate to add context to your logs and understand the flow of execution in your code.

Read More
crab blue

Logs and tracing in Rust: Fundamentals

An introduction to logging and tracing in Rust, covering some of the philosophy behind logging and how to set up a basic tracing subscriber in your Rust projects.

Read More
errors green

Your Errors Are Data Too

How Rust's error handling patterns let you treat errors as structured observations about your data - capturing context, categorising failures, and producing data quality reports as first-class pipeline outputs.

Read More
errors orange

Error Handling in Rust: anyhow and thiserror

Practical Rust error handling beyond the basics: add context with anyhow and define typed errors with thiserror.

Read More
errors blue

Error Handling in Rust: Fundamentals

A clear, practical guide to Rust error handling: panic, Result, ?, unwrap, and expect - written for Rust developers who want clarity without jargon.

Read More