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>
|
2019-02-07 13:18:09 -08:00
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
2013-07-24 03:37:51 -07:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Uptime</th>
|
2020-03-29 09:35:39 -07:00
|
|
|
<td>{{.Birth}}</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>
|
2020-03-29 09:35:39 -07:00
|
|
|
<td>{{.LastConfigTime}}</td>
|
2018-03-21 09:08:37 -07:00
|
|
|
</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>
|
2019-03-18 04:10:13 -07:00
|
|
|
<tr>
|
|
|
|
<th>GODEBUG</th>
|
|
|
|
<td>{{.GODEBUG}}</td>
|
|
|
|
</tr>
|
2019-03-11 10:18:57 -07:00
|
|
|
<tr>
|
|
|
|
<th>Storage Retention</th>
|
|
|
|
<td>{{.StorageRetention}}</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>
|
2019-02-07 13:18:09 -08:00
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
2013-07-24 03:37:51 -07:00
|
|
|
<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>
|
2019-02-07 13:18:09 -08:00
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
2016-11-23 09:23:09 -08:00
|
|
|
<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>
|
|
|
|
|
2019-11-04 18:06:13 -08:00
|
|
|
<h2 id="headstatus">Head Stats</h2>
|
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Number Of Series </th>
|
|
|
|
<th>Number of Chunks</th>
|
|
|
|
<th>Current Min Time</th>
|
2020-07-09 15:08:43 -07:00
|
|
|
<th>Current Max Time</th>
|
2019-11-04 18:06:13 -08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-26 01:39:06 -08:00
|
|
|
<td scope="row">{{ .NumSeries}}</td>
|
2020-07-09 15:08:43 -07:00
|
|
|
<td>{{.ChunkCount}}</td>
|
|
|
|
<td>{{ .MinTime | unixToTime }} ({{ .MinTime }})</td>
|
|
|
|
<td>{{ .MaxTime | unixToTime }} ({{ .MaxTime }})</td>
|
2019-11-04 18:06:13 -08:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div>Total Query Time: {{ .Duration }} Seconds</div>
|
|
|
|
<h3 id="headstatus">Highest Cardinality Labels </h3>
|
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Count</th>
|
|
|
|
</tr>
|
|
|
|
{{ range .Stats.CardinalityLabelStats }}
|
|
|
|
<tr>
|
2020-02-26 01:39:06 -08:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 15:08:43 -07:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-04 18:06:13 -08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h3 id="headstatus">Highest Cardinality Metric Names</h3>
|
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Count</th>
|
|
|
|
</tr>
|
|
|
|
{{ range .Stats.CardinalityMetricsStats }}
|
|
|
|
<tr>
|
2020-02-26 01:39:06 -08:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 15:08:43 -07:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-04 18:06:13 -08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h3 id="headstatus">Label Names With Highest Cumulative Label Value Length</h3>
|
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Length</th>
|
|
|
|
</tr>
|
|
|
|
{{ range .Stats.LabelValueStats }}
|
|
|
|
<tr>
|
2020-02-26 01:39:06 -08:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 15:08:43 -07:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-04 18:06:13 -08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
2020-07-09 15:08:43 -07:00
|
|
|
</table>
|
2019-11-04 18:06:13 -08:00
|
|
|
<h3 id="headstatus">Most Common Label Pairs</h3>
|
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Count</th>
|
|
|
|
</tr>
|
|
|
|
{{ range .Stats.LabelValuePairsStats }}
|
|
|
|
<tr>
|
2020-02-26 01:39:06 -08:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 15:08:43 -07:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-04 18:06:13 -08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
2020-07-09 15:08:43 -07:00
|
|
|
</table>
|
2013-07-24 03:37:51 -07:00
|
|
|
</div>
|
2013-03-27 09:40:01 -07:00
|
|
|
{{end}}
|