prometheus/web/ui/templates/status.html

78 lines
2 KiB
HTML
Raw Normal View History

{{define "head"}}<!-- nix -->{{end}}
{{define "content"}}
2013-07-24 03:37:51 -07:00
<div class="container-fluid">
<h2 id="runtime">Runtime Information</h2>
2013-07-24 03:37:51 -07:00
<table class="table table-condensed table-bordered table-striped table-hover">
<tbody>
<tr>
<th>Uptime</th>
<td>{{.Birth.UTC}}</td>
2013-07-24 03:37:51 -07:00
</tr>
<tr>
<th>Working Directory</th>
<td>{{.CWD}}</td>
</tr>
<tr>
<th>Number of goroutines</th>
<td>{{.GoroutineCount}}</td>
</tr>
<tr>
<th>GOMAXPROCS</th>
<td>{{.GOMAXPROCS}}</td>
</tr>
<tr>
<th>GOGC</th>
<td>{{.GOGC}}</td>
</tr>
2013-07-24 03:37:51 -07:00
</tbody>
</table>
<h2 id="buildinformation">Build Information</h2>
2013-07-24 03:37:51 -07:00
<table class="table table-condensed table-bordered table-striped table-hover">
<tbody>
<tr>
<th scope="row">Version</th>
<td>{{.Version.Version}}</td>
</tr>
<tr>
<th scope="row">Revision</th>
<td>{{.Version.Revision}}</td>
</tr>
<tr>
<th scope="row">Branch</th>
<td>{{.Version.Branch}}</td>
</tr>
<tr>
<th scope="row">BuildUser</th>
<td>{{.Version.BuildUser}}</td>
</tr>
<tr>
<th scope="row">BuildDate</th>
<td>{{.Version.BuildDate}}</td>
</tr>
<tr>
<th scope="row">GoVersion</th>
<td>{{.Version.GoVersion}}</td>
2013-07-24 03:37:51 -07:00
</tr>
</tbody>
</table>
<h2 id="alertmanagers">Alertmanagers</h2>
<table class="table table-condensed table-bordered table-striped table-hover">
<tbody>
<tr>
<th>Endpoint</th>
</tr>
{{range .Alertmanagers}}
<tr>
{{/* Alertmanager URLs always have Scheme, Host and Path set */}}
<td>{{.Scheme}}://<a href="{{.Scheme}}://{{.Host}}">{{.Host}}</a>{{.Path}}</td>
</tr>
{{end}}
</tbody>
</table>
2013-07-24 03:37:51 -07:00
</div>
{{end}}