19 major breaking releases

new 21.0.0 Jan 29, 2025
20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
17.0.0 Jul 19, 2024
0.0.0 Nov 21, 2022

#25 in #metrics-collection

Download history 818/week @ 2024-10-09 795/week @ 2024-10-16 918/week @ 2024-10-23 1072/week @ 2024-10-30 835/week @ 2024-11-06 1137/week @ 2024-11-13 1368/week @ 2024-11-20 1189/week @ 2024-11-27 1498/week @ 2024-12-04 1543/week @ 2024-12-11 1422/week @ 2024-12-18 925/week @ 2024-12-25 968/week @ 2025-01-01 1391/week @ 2025-01-08 1302/week @ 2025-01-15 1003/week @ 2025-01-22

4,835 downloads per month
Used in 62 crates (11 directly)

GPL-3.0-only

24KB
318 lines

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

Release

Polkadot SDK Stable 2412


lib.rs:

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.

Dependencies

~91–130MB
~2.5M SLoC