reth_engine_tree/
metrics.rsuse reth_metrics::{
metrics::{Gauge, Histogram},
Metrics,
};
#[derive(Metrics)]
#[metrics(scope = "consensus.engine.beacon")]
pub(crate) struct BlockDownloaderMetrics {
pub(crate) active_block_downloads: Gauge,
}
#[derive(Metrics)]
#[metrics(scope = "consensus.engine.persistence")]
pub(crate) struct PersistenceMetrics {
pub(crate) remove_blocks_above_duration_seconds: Histogram,
pub(crate) save_blocks_duration_seconds: Histogram,
pub(crate) prune_before_duration_seconds: Histogram,
}