21 major breaking releases

new 23.0.0 Jul 8, 2025
22.0.0 Apr 4, 2025
21.1.0 Mar 27, 2025
20.0.0 Jan 14, 2025
0.0.0 Nov 21, 2022

#6 in #metronome

Download history 2268/week @ 2025-03-18 3757/week @ 2025-03-25 2560/week @ 2025-04-01 2559/week @ 2025-04-08 1992/week @ 2025-04-15 3625/week @ 2025-04-22 2897/week @ 2025-04-29 2569/week @ 2025-05-06 2537/week @ 2025-05-13 2265/week @ 2025-05-20 2698/week @ 2025-05-27 2695/week @ 2025-06-03 2626/week @ 2025-06-10 2922/week @ 2025-06-17 3490/week @ 2025-06-24 3023/week @ 2025-07-01

12,448 downloads per month
Used in 71 crates (11 directly)

GPL-3.0-only

1MB
17K SLoC

Metrics helpers

Collects a bunch of metrics providers and related features such as Metronome for usage with metrics collections.

This crate also reexports Prometheus metric types which are expected to be implemented by subsystems.


polkadot-node-metrics

Testing

Before running cargo test in this crate, make sure the worker binaries are built first. This can be done with:

cargo build --bin polkadot-execute-worker --bin polkadot-prepare-worker

Dependencies

~93–130MB
~2.5M SLoC