pass through PrometheusExporter into registerMetrics function

This commit is contained in:
Matthew Goslett 2017-07-27 12:20:45 +02:00
parent e8fd484da4
commit 78a0916b15

View file

@ -70,7 +70,7 @@ class PrometheusExporter
if (!isset($this->collectors[$name])) {
$this->collectors[$name] = $collector;
$collector->registerMetrics($this->prometheus);
$collector->registerMetrics($this);
}
}