forked from mirrors/statsd_exporter
Update a few Bridges we missed to Exporter
This commit is contained in:
parent
76f5f422b4
commit
fbbd6452c6
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -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>`))
|
||||||
|
|
Loading…
Reference in a new issue