17 major breaking releases

18.0.0 Oct 1, 2024
17.0.0 Jul 19, 2024
15.0.0 Jul 13, 2024
14.0.0 Jun 24, 2024
0.0.0 Nov 21, 2022

#25 in #metrics-collection

Download history 463/week @ 2024-07-29 555/week @ 2024-08-05 721/week @ 2024-08-12 810/week @ 2024-08-19 572/week @ 2024-08-26 506/week @ 2024-09-02 751/week @ 2024-09-09 698/week @ 2024-09-16 1011/week @ 2024-09-23 1406/week @ 2024-09-30 751/week @ 2024-10-07 852/week @ 2024-10-14 966/week @ 2024-10-21 896/week @ 2024-10-28 1038/week @ 2024-11-04 807/week @ 2024-11-11

3,789 downloads per month
Used in 57 crates (10 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 stable2409


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

~94–135MB
~2.5M SLoC