Add check for duplicate metric keys (#106)

* Remove vet of test code

* Add check for duplicate metric keys
This commit is contained in:
Stephen Marshall
2018-06-01 15:29:18 +01:00
committed by Rob Parker
parent bcfef94b08
commit f8b500e0a1
4 changed files with 59 additions and 20 deletions

View File

@@ -59,6 +59,8 @@ func startMetricsGathering(qmName string, log *logger.Logger) error {
}
}()
log.Println("Starting metrics gathering")
// Start processing metrics
wg.Add(1)
go processMetrics(log, qmName, &wg)