mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-22 23:41:00 +00:00
Merge pull request #121 from prometheus/brian-brazil-patch-1
Update a few Bridges we missed to Exporter
This commit is contained in:
commit
745e53700f
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