# tracing

> Application-level tracing and structured diagnostics for Rust

Source: https://talira.ai/catalog/tracing-3s76n9jk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [devops / observability / instrumentation](https://talira.ai/categories/devops/observability/instrumentation), [libraries / logging](https://talira.ai/categories/libraries/logging), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Plugins: yes[^2]
- Backed by: [Tokio](https://talira.ai/orgs/tokio.md)

tracing is a framework for instrumenting [Rust](https://talira.ai/catalog/rust-mf51vs5t.md) programs to collect structured, event-based diagnostics: spans that record a period of work and events within them, with typed fields, which suits asynchronous code where one task's logs interleave with others'. Libraries record spans and events with its macros, and an application picks a subscriber to collect them: `tracing-subscriber` logs them with sensible defaults and also takes messages from `log`-instrumented crates, and `tracing-appender` writes them to files without blocking. It's maintained by the Tokio project but doesn't need the [Tokio](https://talira.ai/catalog/tokio-5dcaannt.md) runtime.

## Links

- Website: https://tracing.rs/
- GitHub: https://github.com/tokio-rs/tracing
- Docs: https://docs.rs/tracing

## Problems it solves

- add structured logging with context to my async Rust service
- see which async task a log line came from when tasks run concurrently
- time how long each step of a request takes in my Rust code
- write my Rust application's logs to rolling files without blocking

## Features

- spans and events with structured, typed fields
- instrumentation macros, including #[instrument]
- pluggable subscribers to collect and export traces
- tracing-subscriber for formatted logging
- consumes log crate messages
- tracing-appender for non-blocking file logging
- works without the Tokio runtime

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 0.67, adoption 0.77, momentum 0.57, community 1.00, backing 0.30, extensibility 0.20.

- last commit 17 days ago
- 10 commits in the last 90 days
- latest release tracing-appender-0.2.5 7 months ago
- 7.0k GitHub stars
- 321 contributors
- backed by Tokio
- has a plugin system

## Alternatives

- [log](https://talira.ai/catalog/log-2vy1r7xr.md): A lightweight logging facade for Rust

## Sources

[^1]: https://github.com/tokio-rs/tracing/blob/main/LICENSE (checked 26 Nov 2026)
[^2]: https://tracing.rs/tracing/ (checked 26 Nov 2026)
