pub fn report_notarization(&self, block: &Block, elapsed: std::time::Duration) {
        let rank = block.rank().0 as usize;
        if rank < RANKS_TO_RECORD.len() {
            self.time_to_notary_sign
                .with_label_values(&[RANKS_TO_RECORD[rank]])
                .observe(elapsed.as_secs_f64())
        }
    }
/// Report metrics after notarizing `block`
Report metrics after notarizing `block`
Report metrics after notarizing ` block `
pub fn report_notarization(&self, block: &Block, elapsed: std::time::Duration) {
        let rank = block.rank().0 as usize;
        if rank < RANKS_TO_RECORD.len() {
            self.time_to_notary_sign
                .with_label_values(&[RANKS_TO_RECORD[rank]])
                .observe(elapsed.as_secs_f64())
        }
    }
pub fn report_notarization ( & self , block : & Block , elapsed : std :: time :: Duration ) { let rank = block . rank ( ) . 0 as usize ; if rank < RANKS_TO_RECORD . len ( ) { self . time_to_notary_sign . with_label_values ( & [ RANKS_TO_RECORD [ rank ] ] ) . observe ( elapsed . as_secs_f64 ( ) ) } }
Report metrics after notarizing `block`
Report metrics after notarizing ` block `
&self
block
&Block
elapsed
std::time::Duration
&self
block
&Block
elapsed
std::time::Duration