diff --git a/mux.go b/mux.go index 77fcdb40..a7d3da80 100644 --- a/mux.go +++ b/mux.go @@ -98,6 +98,9 @@ func NewHandler(server *Server) (http.Handler, error) { mux.HandleFunc("/metrics", server.wrapMetricsAuth(promhttp.Handler().ServeHTTP)) } } + mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusNoContent) + }) mux.Handle("/", server) var handler http.Handler = mux