pub(crate) fn refresh_metrics(&self) {
        // Export info-metrics with details about current strategy.
        STRATEGY_MODE
            .with_label_values(&[self.configuration_label()])
            .set(1);

        if let UpdateStrategy::Periodic(p) = self {
            let sched_length = p.schedule_length_minutes();
            PERIODIC_LENGTH.set(sched_length as i64);
        };
    }
/// Refresh strategy-related metrics values.
Refresh strategy-related metrics values.
Refresh strategy - related metrics values .
pub(crate) fn refresh_metrics(&self) {
        // Export info-metrics with details about current strategy.
        STRATEGY_MODE
            .with_label_values(&[self.configuration_label()])
            .set(1);
        if let UpdateStrategy::Periodic(p) = self {
            let sched_length = p.schedule_length_minutes();
            PERIODIC_LENGTH.set(sched_length as i64);
        };
    }
pub ( crate ) fn refresh_metrics ( & self ) { // Export info-metrics with details about current strategy. STRATEGY_MODE . with_label_values ( & [ self . configuration_label ( ) ] ) . set ( 1 ) ; if let UpdateStrategy :: Periodic ( p ) = self { let sched_length = p . schedule_length_minutes ( ) ; PERIODIC_LENGTH . set ( sched_length as i64 ) ; } ; }
Refresh strategy-related metrics values.
Refresh strategy - related metrics values .
&self