What is inside
Introduction
An independent guide to application telemetry in Rust.
Setup and first signal
Install the crates and export your first span, metric and log.
Agent quickstart
Get a quick start with the guide as an agent.
Traces
Create spans, nest them and add attributes and events.
Metrics
Count, gauge and histogram instruments and how to read them.
Logs
Bridge Rust log records into the OpenTelemetry log pipeline.
Exporters
Send signals to collectors and backends over OTLP and friends.
Configuration
Wire resource attributes, sampling and limits in one place.
Performance
Keep the instrumentation cheap and measure what it costs.
Spans in SQLite
Store finished spans in a local SQLite database.
Spans in Turso
Store finished spans in a Turso database over libsql.
Examples
Every chapter example as a complete, compiling crate.
For agents
The guide is plain Markdown underneath. A machine-readable index of every chapter is in the llms.txt file.