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

no-std polkadot-runtime-metrics

Runtime metric interface for the Polkadot node

17 major breaking releases

17.0.0 Sep 26, 2024
16.0.0 Jul 18, 2024
15.0.0 Jul 12, 2024
14.0.0 Jun 24, 2024
0.0.0 Nov 21, 2022

#83 in #prometheus-metrics

Download history 1327/week @ 2024-08-26 921/week @ 2024-09-02 1119/week @ 2024-09-09 1063/week @ 2024-09-16 1546/week @ 2024-09-23 1532/week @ 2024-09-30 1516/week @ 2024-10-07 1801/week @ 2024-10-14 2038/week @ 2024-10-21 1985/week @ 2024-10-28 2984/week @ 2024-11-04 21841/week @ 2024-11-11 26791/week @ 2024-11-18 30232/week @ 2024-11-25 24725/week @ 2024-12-02 29456/week @ 2024-12-09

112,500 downloads per month
Used in 86 crates (2 directly)

GPL-3.0-only

13KB
124 lines

Release

Polkadot SDK stable2409


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

~18–31MB
~519K SLoC