prometheus/web/templates/status.html

50 lines
1,009 B
HTML
Raw Normal View History

{{define "head"}}<!-- nix -->{{end}}
{{define "content"}}
<h2>Status</h2>
2013-04-25 02:57:08 -07:00
<div class="grouping_box">
{{.Status}}
2013-04-25 02:57:08 -07:00
</div>
2013-04-25 02:57:08 -07:00
<h2>Configuration</h2>
<div class="grouping_box">
<pre>
{{.Config}}
2013-04-25 02:57:08 -07:00
</pre>
</div>
<h2>Rules</h2>
2013-04-25 02:57:08 -07:00
<div class="grouping_box">
{{.Rules}}
2013-04-25 02:57:08 -07:00
</div>
2013-04-25 02:57:08 -07:00
<h2>Targets</h2>
<div class="grouping_box">
<ul>
{{range $job, $pool := .TargetPools}}
<li>{{$job}}
<ul>
{{range $pool.Targets}}
<li>
<a href="{{.GlobalAddress}}">{{.Address}}</a> (State: {{.State}}, Base Labels: {{.BaseLabels}})
</li>
{{end}}
</ul>
</li>
{{end}}
</ul>
2013-04-25 02:57:08 -07:00
</div>
<h2>Build Info</h2>
<div class="grouping_box">
<table>
{{range $key, $value := .BuildInfo}}
<tr>
<th scope="row">{{$key}}</th>
<td>{{$value}}</td>
</tr>
{{end}}
</table>
</div>
{{end}}