#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

#82 in #prometheus-metrics

Download history 1256/week @ 2024-07-25 1187/week @ 2024-08-01 1407/week @ 2024-08-08 1452/week @ 2024-08-15 1642/week @ 2024-08-22 1059/week @ 2024-08-29 1041/week @ 2024-09-05 1138/week @ 2024-09-12 1111/week @ 2024-09-19 1865/week @ 2024-09-26 1408/week @ 2024-10-03 1514/week @ 2024-10-10 2159/week @ 2024-10-17 1749/week @ 2024-10-24 2697/week @ 2024-10-31 11972/week @ 2024-11-07

18,813 downloads per month
Used in 85 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

~19–33MB
~544K SLoC