Crate polkadot_node_metrics

source ·
Expand description

Metrics helpers

Collects a bunch of metrics providers and related features such as Metronome for usage with metrics collections.

This crate also reexports Prometheus metric types which are expected to be implemented by subsystems.



  • This module reexports Prometheus types and defines the Metrics trait.
  • Cyclic metric collection support.


  • Export a dummy logger hook when the runtime-metrics feature is not enabled.