A health middleware

Start http handler on port 8080 and return OK. Also add some

documentation fixes for the prometheus middleware.
This commit is contained in:
Miek Gieben
2016-04-06 09:21:46 +01:00
parent ecb53addd6
commit 68171c7a63
7 changed files with 103 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ import (
const (
path = "/metrics"
addr = "localhost:9135" // 9153 is occopied by bind_exporter
addr = "localhost:9135" // 9153 is occupied by bind_exporter
)
var once sync.Once