#metrics #run-time #interface #polkadot #prometheus-metrics #tracing #node

no-std polkadot-runtime-metrics

Runtime metric interface for the Polkadot node

18 major breaking releases

new 18.0.0 Jan 13, 2025
17.0.0 Sep 26, 2024
16.0.0 Jul 18, 2024
15.0.0 Jul 12, 2024
0.0.0 Nov 21, 2022

#618 in Magic Beans

Download history 1638/week @ 2024-09-27 1452/week @ 2024-10-04 1668/week @ 2024-10-11 2151/week @ 2024-10-18 1795/week @ 2024-10-25 2839/week @ 2024-11-01 16444/week @ 2024-11-08 27995/week @ 2024-11-15 27308/week @ 2024-11-22 26371/week @ 2024-11-29 28478/week @ 2024-12-06 26315/week @ 2024-12-13 8830/week @ 2024-12-20 10320/week @ 2024-12-27 22528/week @ 2025-01-03 23952/week @ 2025-01-10

69,758 downloads per month
Used in 89 crates (2 directly)

GPL-3.0-only

13KB
124 lines

Release

Polkadot SDK Stable 2412


lib.rs:

Runtime metric interface similar to native Prometheus metrics.

This is intended to be used only for testing and debugging and must never be used in production. It requires the Substrate wasm tracing support and command line configuration: --tracing-targets wasm_tracing=trace.

Dependencies

~19–33MB
~532K SLoC