diff --git a/lib/httpserver/httpserver.go b/lib/httpserver/httpserver.go index eb8740109a..ea49624ce4 100644 --- a/lib/httpserver/httpserver.go +++ b/lib/httpserver/httpserver.go @@ -203,6 +203,9 @@ func handlerWrapper(w http.ResponseWriter, r *http.Request, rh RequestHandler) { func checkAuth(w http.ResponseWriter, r *http.Request) bool { path := r.URL.Path + if path == "/health" { + return true + } if path == "/metrics" && len(*metricsAuthKey) > 0 { authKey := r.FormValue("authKey") if *metricsAuthKey == authKey {