fn observe_phase_duration(&self, phase: &str, timer: &Timer) {
        self.metrics
            .process_batch_phase_duration
            .with_label_values(&[phase])
            .observe(timer.elapsed());
    }
/// Adds an observation to the `METRIC_PROCESS_BATCH_PHASE_DURATION`
/// histogram for the given phase.
Adds an observation to the `METRIC_PROCESS_BATCH_PHASE_DURATION`
histogram for the given phase.
Adds an observation to the ` METRIC_PROCESS_BATCH_PHASE_DURATION ` histogram for the given phase .
fn observe_phase_duration(&self, phase: &str, timer: &Timer) {
        self.metrics
            .process_batch_phase_duration
            .with_label_values(&[phase])
            .observe(timer.elapsed());
    }
fn observe_phase_duration ( & self , phase : & str , timer : & Timer ) { self . metrics . process_batch_phase_duration . with_label_values ( & [ phase ] ) . observe ( timer . elapsed ( ) ) ; }
Adds an observation to the `METRIC_PROCESS_BATCH_PHASE_DURATION`
histogram for the given phase.
Adds an observation to the ` METRIC_PROCESS_BATCH_PHASE_DURATION ` histogram for the given phase .
&self
phase
&str
timer
&Timer
&self
phase
&str
timer
&Timer