diff --git a/main.go b/main.go index 5d4fef9..29aefc9 100644 --- a/main.go +++ b/main.go @@ -64,6 +64,16 @@ func Run(args []string) { prometheus.MustRegister(exporter) http.Handle("/metrics", prometheus.Handler()) + http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte(` + + +

Resque Exporter v` + ver + `/` + rev + `

+

Metrics

+ + + `)) + }) addr := fmt.Sprintf(":%d", port) log.Print("Listening 0.0.0.0", addr)