stratus::infra::metrics

Function inc_storage_read_pending_block_number

Source
pub fn inc_storage_read_pending_block_number(
    duration: Duration,
    storage: impl Into<MetricLabelValue>,
    success: impl Into<MetricLabelValue>,
)
Expand description

Add operation duration to storage_read_pending_block_number histogram.