Update a few Bridges we missed to Exporter

This commit is contained in:
Brian Brazil 2018-01-30 20:01:29 +00:00 committed by GitHub
parent 76f5f422b4
commit fbbd6452c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,9 +46,9 @@ func serveHTTP() {
http.Handle(*metricsEndpoint, prometheus.Handler()) http.Handle(*metricsEndpoint, prometheus.Handler())
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`<html> w.Write([]byte(`<html>
<head><title>StatsD Bridge</title></head> <head><title>StatsD Exporter</title></head>
<body> <body>
<h1>StatsD Bridge</h1> <h1>StatsD Exporter</h1>
<p><a href="` + *metricsEndpoint + `">Metrics</a></p> <p><a href="` + *metricsEndpoint + `">Metrics</a></p>
</body> </body>
</html>`)) </html>`))