pass through PrometheusExporter into registerMetrics function
This commit is contained in:
parent
e8fd484da4
commit
78a0916b15
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class PrometheusExporter
|
|||
if (!isset($this->collectors[$name])) {
|
||||
$this->collectors[$name] = $collector;
|
||||
|
||||
$collector->registerMetrics($this->prometheus);
|
||||
$collector->registerMetrics($this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue