2013-04-02 10:14:02 -07:00
|
|
|
{{define "head"}}<!-- nix -->{{end}}
|
|
|
|
|
2013-03-27 09:40:01 -07:00
|
|
|
{{define "content"}}
|
2013-07-24 03:37:51 -07:00
|
|
|
<div class="container-fluid">
|
2015-07-30 12:39:05 -07:00
|
|
|
<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>
|
2016-05-13 08:59:59 -07:00
|
|
|
<td>{{.Birth.UTC}}</td>
|
2013-07-24 03:37:51 -07:00
|
|
|
</tr>
|
2016-12-03 15:37:59 -08:00
|
|
|
<tr>
|
|
|
|
<th>Working Directory</th>
|
|
|
|
<td>{{.CWD}}</td>
|
|
|
|
</tr>
|
2018-03-21 09:08:37 -07:00
|
|
|
<tr{{if not .ReloadConfigSuccess}} class="danger"{{end}}>
|
|
|
|
<th>Configuration reload</th>
|
|
|
|
<td>{{if .ReloadConfigSuccess}}Successful{{else}}Failed{{end}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Last successful configuration reload</th>
|
|
|
|
<td>{{.LastConfigTime.UTC}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Head chunks</th>
|
|
|
|
<td>{{.ChunkCount}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Head time series</th>
|
|
|
|
<td>{{.TimeSeriesCount}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>WAL corruptions</th>
|
|
|
|
<td>{{.CorruptionCount}}</td>
|
|
|
|
</tr>
|
2018-03-07 07:14:46 -08:00
|
|
|
<tr>
|
2018-03-21 09:08:37 -07:00
|
|
|
<th>Goroutines</th>
|
2018-03-07 07:14:46 -08:00
|
|
|
<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>
|
|
|
|
|
2015-07-30 12:39:05 -07:00
|
|
|
<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>
|
2016-05-05 04:46:51 -07:00
|
|
|
<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>
|
2016-11-23 09:23:09 -08:00
|
|
|
|
|
|
|
<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>
|
2017-04-24 22:42:33 -07:00
|
|
|
{{/* Alertmanager URLs always have Scheme, Host and Path set */}}
|
|
|
|
<td>{{.Scheme}}://<a href="{{.Scheme}}://{{.Host}}">{{.Host}}</a>{{.Path}}</td>
|
2016-11-23 09:23:09 -08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2013-07-24 03:37:51 -07:00
|
|
|
</div>
|
2013-03-27 09:40:01 -07:00
|
|
|
{{end}}
|