reth_engine_tree/
metrics.rs1use reth_metrics::{
2 metrics::{Gauge, Histogram},
3 Metrics,
4};
5
6#[derive(Metrics)]
8#[metrics(scope = "consensus.engine.beacon")]
9pub(crate) struct BlockDownloaderMetrics {
10 pub(crate) active_block_downloads: Gauge,
12}
13
14#[derive(Metrics)]
16#[metrics(scope = "consensus.engine.persistence")]
17pub(crate) struct PersistenceMetrics {
18 pub(crate) remove_blocks_above_duration_seconds: Histogram,
20 pub(crate) save_blocks_duration_seconds: Histogram,
22 pub(crate) prune_before_duration_seconds: Histogram,
24}