return failure with CH class hits file or etcd, monitoring portis 9135

This commit is contained in:
Miek Gieben
2016-04-05 16:23:03 +01:00
parent 8892a1b490
commit e0c4f94d67
7 changed files with 9 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ func (m *Metrics) Start() error {
http.Handle(path, prometheus.Handler())
go func() {
// TODO(miek): Logging here?
fmt.Errorf("%s", http.ListenAndServe(m.Addr, nil))
}()
})