16 major breaking releases

new 17.0.0 Jul 19, 2024
15.0.0 Jul 13, 2024
14.0.0 Jun 24, 2024
13.0.0 May 24, 2024
0.0.0 Nov 21, 2022

#141 in Magic Beans

Download history 1179/week @ 2024-03-29 1057/week @ 2024-04-05 698/week @ 2024-04-12 739/week @ 2024-04-19 1084/week @ 2024-04-26 681/week @ 2024-05-03 721/week @ 2024-05-10 922/week @ 2024-05-17 1307/week @ 2024-05-24 981/week @ 2024-05-31 1193/week @ 2024-06-07 645/week @ 2024-06-14 1270/week @ 2024-06-21 791/week @ 2024-06-28 299/week @ 2024-07-05 754/week @ 2024-07-12

3,202 downloads per month
Used in 56 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

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

~90–130MB
~2.5M SLoC