2013-02-12 04:15:40 -08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<title>Prometheus Status</title>
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
|
|
|
<link type="text/css" rel="stylesheet" href="static/css/prometheus.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h2>Status</h2>
|
|
|
|
<div class="grouping_box">
|
|
|
|
{{.Status}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>Configuration</h2>
|
|
|
|
<div class="grouping_box">
|
|
|
|
<pre>
|
|
|
|
{{.Config}}
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>Rules</h2>
|
|
|
|
<div class="grouping_box">
|
|
|
|
{{.Rules}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>Targets</h2>
|
2013-02-22 12:07:35 -08:00
|
|
|
<div class="grouping_box">
|
|
|
|
<ul>
|
|
|
|
{{range $job, $pool := .TargetPools}}
|
|
|
|
<li>{{$job}}
|
|
|
|
<ul>
|
|
|
|
{{range $pool.Targets}}
|
|
|
|
<li>
|
|
|
|
<a href="{{.Address}}">{{.Address}}</a> (State: {{.State}}, Base labels: {{.BaseLabels}})
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
2013-02-12 04:15:40 -08:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|