fn gen_all_metrics(&mut self) {
        info!(
            "{}: Get self metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_self_metrics();
        info!(
            "{}: Get host metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_host_metrics();
        info!(
            "{}: Get socket metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_socket_metrics();
        info!(
            "{}: Get system metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_system_metrics();
        info!(
            "{}: Get process metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_process_metrics();
        debug!("self_metrics: {:#?}", self.data);
    }
/// Generate all metrics provided by Scaphandre agent.
Generate all metrics provided by Scaphandre agent.
Generate all metrics provided by Scaphandre agent .
fn gen_all_metrics(&mut self) {
        info!(
            "{}: Get self metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_self_metrics();
        info!(
            "{}: Get host metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_host_metrics();
        info!(
            "{}: Get socket metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_socket_metrics();
        info!(
            "{}: Get system metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_system_metrics();
        info!(
            "{}: Get process metrics",
            Utc::now().format("%Y-%m-%dT%H:%M:%S")
        );
        self.gen_process_metrics();
        debug!("self_metrics: {:#?}", self.data);
    }
fn gen_all_metrics ( & mut self ) { info ! ( " " Utc now ( ) format ( " " ) ) ; self . gen_self_metrics ( ) ; info ! ( " " Utc now ( ) format ( " " ) ) ; self . gen_host_metrics ( ) ; info ! ( " " Utc now ( ) format ( " " ) ) ; self . gen_socket_metrics ( ) ; info ! ( " " Utc now ( ) format ( " " ) ) ; self . gen_system_metrics ( ) ; info ! ( " " Utc now ( ) format ( " " ) ) ; self . gen_process_metrics ( ) ; debug ! ( " " self data ) ; }
Generate all metrics provided by Scaphandre agent.
Generate all metrics provided by Scaphandre agent .
&mut self
&mut self