Merge pull request #121 from prometheus/brian-brazil-patch-1

Update a few Bridges we missed to Exporter
This commit is contained in:
Matthias Rampke 2018-01-30 21:19:25 +01:00 committed by GitHub
commit 745e53700f
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.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`<html>
<head><title>StatsD Bridge</title></head>
<head><title>StatsD Exporter</title></head>
<body>
<h1>StatsD Bridge</h1>
<h1>StatsD Exporter</h1>
<p><a href="` + *metricsEndpoint + `">Metrics</a></p>
</body>
</html>`))