Cargo Features

polkadot-node-metrics has no features set by default.

[dependencies]
polkadot-node-metrics = { version = "17.0.0", features = ["runtime-metrics", "runtime-benchmarks"] }
runtime-metrics

Affects polkadot-node-metrics::runtime

runtime-benchmarks

Enables runtime-benchmarks of polkadot-primitives and sc-service