Lines Matching refs:collector
425 iface->collector = entry; in register_prometheus_metrics()
430 if (iface->collector == NULL) { in register_prometheus_metrics()
437 if (entry->base.collector != iface->collector) { in register_prometheus_metrics()
441 prometheus_collector_register_metric(iface->collector, in register_prometheus_metrics()
447 if (entry->base.collector != iface->collector) { in register_prometheus_metrics()
451 prometheus_collector_register_metric(iface->collector, in register_prometheus_metrics()
457 if (entry->base.collector != iface->collector) { in register_prometheus_metrics()
461 prometheus_collector_register_metric(iface->collector, in register_prometheus_metrics()
467 if (entry->base.collector != iface->collector) { in register_prometheus_metrics()
471 prometheus_collector_register_metric(iface->collector, in register_prometheus_metrics()
485 int net_stats_prometheus_scrape(struct prometheus_collector *collector, in net_stats_prometheus_scrape() argument
496 if (iface->collector != collector) { in net_stats_prometheus_scrape()