Add prometheus metrics exporter

This should add metrics parity to the Python version
This commit is contained in:
Ian Fijolek
2019-11-15 11:25:21 -08:00
parent 1f6193e486
commit 457e19af9b
6 changed files with 211 additions and 7 deletions
+3 -1
View File
@@ -84,7 +84,9 @@ func LoadConfig(filePath string) (config Config, err error) {
return
}
log.Printf("config:\n%v\n", config)
if LogDebug {
log.Printf("DEBUG: Config values:\n%v\n", config)
}
if !config.IsValid() {
err = errors.New("Invalid configuration")