Function prometheus::push_collector [] [src]

pub fn push_collector(job: &str, grouping: HashMap<StringString>, url: &str, collectors: Vec<Box<Collector>>) -> Result<()>

push_collector push metrics collected from the provided collectors. It is a convenient way to push only a few metrics.