reth_beacon_consensus/engine/
metrics.rsuse reth_metrics::{
metrics::{Counter, Gauge, Histogram},
Metrics,
};
#[derive(Metrics)]
#[metrics(scope = "consensus.engine.beacon")]
pub(crate) struct EngineMetrics {
pub(crate) pipeline_runs: Counter,
pub(crate) forkchoice_updated_messages: Counter,
pub(crate) new_payload_messages: Counter,
pub(crate) make_canonical_already_canonical_latency: Histogram,
pub(crate) make_canonical_committed_latency: Histogram,
pub(crate) make_canonical_error_latency: Histogram,
pub(crate) make_canonical_latency: Histogram,
}
#[derive(Metrics)]
#[metrics(scope = "consensus.engine.beacon")]
pub(crate) struct EngineSyncMetrics {
pub(crate) active_block_downloads: Gauge,
}