diff --git a/exporter.go b/exporter.go index 92b16d18..31f2ff6d 100644 --- a/exporter.go +++ b/exporter.go @@ -339,7 +339,13 @@ func main() { http.HandleFunc(*metricsPath, withConcurrencyLimit(*maxRequests, h.ServeHTTP)) http.HandleFunc("/health", healthCheck) http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - http.Redirect(w, r, *metricsPath, http.StatusMovedPermanently) + _, _ = w.Write([]byte(` +WMI Exporter + +

WMI Exporter

+

Metrics

+ +`)) }) log.Infoln("Starting WMI exporter", version.Info())