tokio-rs/tracing
Application level tracing for Rust. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 85
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 2791
- days_rel: 138
- days_push: 95
- n_releases_24m: 23
Adoption not part of the score
6856 stars · 925 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
tracing is a Rust framework for instrumenting applications to emit structured, event-based diagnostic data, built around spans with duration and causality rather than single log lines. It is maintained by the Tokio project but works without the Tokio runtime, and integrates with the log ecosystem via tracing-subscriber.
Use cases
- add structured logging to a Rust application
- trace async task execution across interleaved futures
- instrument library code with spans and events
- collect distributed tracing data from Rust services
- replace println debugging with proper diagnostics
- bridge log-crate output into a structured tracing subscriber
When to choose
- you need structured, contextual diagnostics in Rust, especially for async/concurrent code
- you want spans with timing and causality rather than flat log lines
- you need a widely adopted, production-proven logging facade with subscriber ecosystem
When to avoid
- you only need simple println-style logging in a small script
- your project is not written in Rust
- you need a full metrics or APM solution rather than trace instrumentation
Facets
library · maturity stable
logging tracing monitoring developer-tools backend performance rust cross-platform structured-logging diagnostics async spans observability tokio
4 sources
- readme: https://github.com/tokio-rs/tracing · fetched 2026-08-28 · 1d82b7387eaf
- homepage: https://tracing.rs · fetched 2026-08-29 · 9e77ce46cbe9
- registry_crates: https://crates.io/api/v1/crates/tracing · fetched 2026-08-29 · a89f7f028614
- site_page: https://tracing.rs/tracing/struct.span · fetched 2026-08-29 · 6cbd70ff5de9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tokio-rs/tracing | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="tokio-rs/tracing")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem