#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

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

#975 in Magic Beans

Download history 1533/week @ 2024-10-01 1618/week @ 2024-10-08 1835/week @ 2024-10-15 1948/week @ 2024-10-22 2063/week @ 2024-10-29 3377/week @ 2024-11-05 26274/week @ 2024-11-12 27593/week @ 2024-11-19 28185/week @ 2024-11-26 27294/week @ 2024-12-03 26348/week @ 2024-12-10 22340/week @ 2024-12-17 7423/week @ 2024-12-24 14262/week @ 2024-12-31 23761/week @ 2025-01-07 30254/week @ 2025-01-14

77,785 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
~536K SLoC