add unit tests

This commit is contained in:
Matthew Goslett 2017-07-27 14:11:46 +02:00
parent 00cb369d0b
commit 9c2453f0e4
8 changed files with 508 additions and 22 deletions

View file

@ -160,7 +160,7 @@ class PrometheusExporter
*/
public function getGauge($name)
{
return $this->prometheus->getCounter($this->namespace, $name);
return $this->prometheus->getGauge($this->namespace, $name);
}
/**