diff --git a/exporter.go b/exporter.go index 70226cfb..5c7ecca7 100644 --- a/exporter.go +++ b/exporter.go @@ -335,7 +335,13 @@ func main() { http.Handle(*metricsPath, h) http.HandleFunc("/health", healthCheck) http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - http.Redirect(w, r, *metricsPath, http.StatusMovedPermanently) + _, _ = w.Write([]byte(` +