> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
> Use this file to discover all available pages before exploring further.

# tracing

> tracing + OpenTelemetry → Tracelit for Rust services.

```bash theme={null}
cargo add tracing tracing-subscriber tracing-opentelemetry
```

Attach an OpenTelemetry layer, then:

```rust theme={null}
tracing::info!(count = 3, "order listed");
tracing::error!(error = %err, "payment failed");
```
