use std::sync::LazyLock; pub static MPC_BLOCKS_INDEXED: LazyLock = LazyLock::new(|| { prometheus::register_int_counter!( "mpc_blocks_indexed_total", "Number of blocks observed from the indexer and fed to the shared RecentBlocksTracker" ) .unwrap() }); pub static MPC_FINALIZED_BLOCKS_INDEXED: LazyLock = LazyLock::new(|| { prometheus::register_int_counter!( "mpc_finalized_blocks_indexed_total", "Number of blocks that transitioned to Final in the shared RecentBlocksTracker" ) .unwrap() });