add host metrics (#3277)

* add host metrics

Signed-off-by: yeya24 <yb532204897@gmail.com>

* update hosts readme docs

Signed-off-by: yeya24 <yb532204897@gmail.com>
This commit is contained in:
yeya24
2019-09-19 11:38:15 -04:00
committed by Miek Gieben
parent 62317c3c14
commit 85e65702bd
4 changed files with 35 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ func (rd *ready) onStartup() error {
ok, todo := plugins.Ready()
if ok {
w.WriteHeader(http.StatusOK)
io.WriteString(w, http.StatusText(http.StatusOK))
io.WriteString(w, http.StatusText(http.StatusOK))
return
}
log.Infof("Still waiting on: %q", todo)