// Copyright 2019-2024 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
use once_cell::sync::Lazy;
use prometheus_client::metrics::histogram::Histogram;
pub static APPLY_BLOCKS_TIME: Lazy<Histogram> = Lazy::new(|| {
let metric = crate::metrics::default_histogram();
crate::metrics::default_registry().register(
"apply_blocks_time",
"Duration of routine which applied blocks",
metric.clone(),
);
metric
});