Trait Subscriber

Source
pub trait Subscriber {
    // Required method
    fn receive_metric(
        &mut self,
        label: &'static str,
        cluster_id: Option<&str>,
        backend_id: Option<&str>,
        metric: MetricValue,
    );
}

Required Methods§

Source

fn receive_metric( &mut self, label: &'static str, cluster_id: Option<&str>, backend_id: Option<&str>, metric: MetricValue, )

Implementors§