tokio-metrics
Runtime and task level metrics for Tokio applications.
0.5.1
47M downloads/mo
#1276 most downloaded on crates.io
tokio-rs/tokio-metrics
What this package is like to depend on
Last release 1 months ago
08 Jul 2026
Release timing varies
gaps range from 8 days to 1.1 years
Most releases are documented
notes for 17 of 19 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
19 releases · first in 2022
7 releases in the last 12 months
see the full history below
Release timeline
19 releases · Feb 2022 to Jul 2026Releases
latest 19-
0.5.108 Jul 2026Release notes
Open source → -
0.5.009 Apr 2026Release notes
Open source →Breaking Changes
RuntimeMetrics::poll_time_histogramis now aPollTimeHistograminstead ofVec<u64>. Each bucket carries its duration range alongside the count. (#121)
Added
- Add
metrique-integrationfeature to useRuntimeMetricsas a metrique unit of work (#121)
Other
- Fix doctests failing after Tokio v1.51 (#122)
-
0.4.923 Feb 2026Release notes
Open source →Added
- (task) Expose a static-friendly TaskMonitorCore without inner Arc (#115)
Other
- Fix doctest feature gates and relax rt requirement for task metrics reporter (#118)
-
0.4.816 Feb 2026Release notes
Open source →Added
- publicly export task
TaskIntervalstype (#112)
Fixed
- use saturating_sub to prevent overflow panics in runtime metrics (#114)
- publicly export task
-
0.4.715 Jan 2026Release notes
Open source →What's Changed
- docs: fix typos in TaskMetrics (by @jkosh44 in #103)
- rt: integrate derived metrics with metrics.rs (by jkosh44 in #104)
- fix: indentation in task.rs (by @arielb1 in #105)
- docs: update readme and crate documentation (by @jkosh44 in #107)
- rt: make live_tasks_count (num_alive_tasks()) stable(by @MingweiSamuel in #108)
- docs: move live_tasks_count to stable metrics in README (by @jlizen in #109)
-
0.4.603 Dec 2025 -
0.4.506 Sep 2025 -
0.4.406 Aug 2025Release notes
Open source →What's Changed
- fix: Add
TaskIntervalsstruct by @palindrom615 in #91 - chore: update dev-dependencies by @arielb1 in #92
- Release 0 4 4 by @arielb1 in #93
New Contributors
- @palindrom615 made their first contribution in #91
Full Changelog: v0.4.3...v0.4.4
Release notes
Open source → - fix: Add
-
0.4.303 Jul 2025Release notes
Open source → -
0.4.230 Apr 2025 -
0.4.121 Apr 2025 -
0.4.026 Nov 2024Release notes
Open source →The core Tokio crate has renamed some of the metrics and this breaking release uses the new names. The minimum required Tokio is bumped to 1.41, and the MSRV is bumped to 1.70 to match.
-
0.3.112 Oct 2023 -
0.3.014 Aug 2023 -
0.2.213 Apr 2023Release notes
Open source → -
0.2.105 Apr 2023 -
0.2.006 Mar 2023 -
0.1.018 Feb 2022Nothing published for this version
-
0.0.017 Feb 2022Nothing published for this version