diff --git a/http/handlers.go b/http/handlers.go index d5ae628d8c..c1a1f58f4e 100644 --- a/http/handlers.go +++ b/http/handlers.go @@ -100,7 +100,7 @@ func RegisterPrometheusHandler(mux httpmux.Mux, containerManager manager.Manager prometheus.NewGoCollector(), prometheus.NewProcessCollector(os.Getpid(), ""), ) - mux.Handle(prometheusEndpoint, promhttp.HandlerFor(r, promhttp.HandlerOpts{})) + mux.Handle(prometheusEndpoint, promhttp.HandlerFor(r, promhttp.HandlerOpts{ErrorHandling: promhttp.ContinueOnError})) } func staticHandlerNoAuth(w http.ResponseWriter, r *http.Request) {