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.

Re-exports§

pub use self::metronome::Metronome;
pub use metered;

Modules§

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

Functions§

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