Function prometheus::push_add_collector [] [src]

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

push_add_collector works like push_add_metrics, it collects from the provided collectors. It is a convenient way to push only a few metrics.