prometheus/retrieval
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
..
format Constantize metric name label name. 2013-03-26 16:20:23 +01:00
instrumentation.go Duration statistics for each target pool. 2013-01-28 16:36:28 +01:00
interface_test.go `TargetManager and TargetPool` ass pointers. 2013-01-15 17:06:17 +01:00
scheduler_test.go Swap `time.Now with testable Time.Now`. 2013-01-27 19:59:20 +01:00
scheduler.go Swap `time.Now with testable Time.Now`. 2013-01-27 19:59:20 +01:00
target_test.go Fix target health state update. 2013-02-25 02:52:52 +01:00
target.go Convert addresses pointing to localhost in status. 2013-04-12 15:14:04 +02:00
targetmanager_test.go Convert addresses pointing to localhost in status. 2013-04-12 15:14:04 +02:00
targetmanager.go Allow replacing job targets via HTTP API. 2013-02-28 21:33:29 +01:00
targetpool_test.go Allow replacing job targets via HTTP API. 2013-02-28 21:33:29 +01:00
targetpool.go Allow replacing job targets via HTTP API. 2013-02-28 21:33:29 +01:00
test_helper.go Fix target health state update. 2013-02-25 02:52:52 +01:00