diff --git a/cmd/exporter/main.go b/cmd/exporter/main.go index 7514786..2e78a8b 100644 --- a/cmd/exporter/main.go +++ b/cmd/exporter/main.go @@ -73,6 +73,15 @@ func main() { mux := http.NewServeMux() mux.Handle(cfg.Server.MetricsPath, promhttp.HandlerFor(registry, promhttp.HandlerOpts{})) + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte(` +PG-Bash Exporter + +

PG-Bash Exporter

+

Metrics

+ +`)) + }) server := &http.Server{ Addr: cfg.Server.ListenAddress, Handler: mux,