prometheus/web
Johannes 'fish' Ziemke 14407a076a Convert addresses pointing to localhost in status.
Until now, targets pointing to localhost in the status view are linked to localhost, so you can't follow those links by clicking on them.
This change converts the links to point to the hostname of the prometheus server.

Before:
<a href="http://localhost:9090/metrics.json">http://localhost:9090/metrics.json</a>

After:
<a href="http://hostname-of-prometheus-server:9090/metrics.json">http://localhost:9090/metrics.json</a>
2013-04-12 15:14:04 +02:00
..
api Depointerize Matrix/Vector types as well as time.Time arguments. 2013-03-28 18:07:12 +01:00
blob Take Path fragment from URL instead of whole URL. 2013-04-09 12:12:24 +02:00
static Minor UI fixes. 2013-04-09 15:23:37 +02:00
templates Convert addresses pointing to localhost in status. 2013-04-12 15:14:04 +02:00
handler.go Add navigation menu to all pages + change routes. 2013-04-04 16:36:53 +02:00
Makefile Include nascent curator scaffolding. 2013-03-25 19:38:14 +01:00
status.go Split status template into two templates. 2013-03-27 17:40:01 +01:00
web.go Use Sprintf instead of string concatenation. 2013-04-05 13:41:52 +02:00