#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

#74 in #prometheus-metrics

Download history 701/week @ 2024-07-05 2316/week @ 2024-07-12 1227/week @ 2024-07-19 1320/week @ 2024-07-26 1173/week @ 2024-08-02 1469/week @ 2024-08-09 1473/week @ 2024-08-16 1638/week @ 2024-08-23 838/week @ 2024-08-30 1152/week @ 2024-09-06 1105/week @ 2024-09-13 1349/week @ 2024-09-20 1638/week @ 2024-09-27 1452/week @ 2024-10-04 1668/week @ 2024-10-11 1729/week @ 2024-10-18

6,898 downloads per month
Used in 79 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

~17–32MB
~518K SLoC