paritytech / polkadot-runtime-prom-exporter

Prometheus exporter for polkadot runtime metrics
10 stars 3 forks source link

Add runtime name and version metrics #15

Closed PierreBesson closed 2 years ago

PierreBesson commented 2 years ago

It would be really useful to have the runtime specName and specVersion exposed as metrics. This value is available in the chain state under system.lastRuntimeUpgrade.

This would let us create Prometheus alerts on runtime version changes.

gilles437 commented 2 years ago

Solved in PR https://github.com/paritytech/polkadot-runtime-prom-exporter/pull/14/