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

no-std polkadot-runtime-metrics

Runtime metric interface for the Polkadot node

19 major breaking releases

19.0.0 Jan 22, 2025
18.0.0 Jan 13, 2025
17.0.0 Sep 26, 2024
16.0.0 Jul 18, 2024
0.0.0 Nov 21, 2022

#568 in Magic Beans

Download history 1707/week @ 2024-10-13 2125/week @ 2024-10-20 1944/week @ 2024-10-27 3013/week @ 2024-11-03 20650/week @ 2024-11-10 27422/week @ 2024-11-17 30087/week @ 2024-11-24 23409/week @ 2024-12-01 30847/week @ 2024-12-08 23532/week @ 2024-12-15 6782/week @ 2024-12-22 12756/week @ 2024-12-29 22640/week @ 2025-01-05 33630/week @ 2025-01-12 32271/week @ 2025-01-19 24858/week @ 2025-01-26

114,501 downloads per month
Used in 84 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

~20–34MB
~559K SLoC