2013-04-02 17:14:02 +00:00
|
|
|
{{define "head"}}<!-- nix -->{{end}}
|
|
|
|
|
2013-03-27 16:40:01 +00:00
|
|
|
{{define "content"}}
|
2013-07-24 10:37:51 +00:00
|
|
|
<div class="container-fluid">
|
2015-07-30 19:39:05 +00:00
|
|
|
<h2 id="runtime">Runtime Information</h2>
|
2019-02-07 21:18:09 +00:00
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
2013-07-24 10:37:51 +00:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Uptime</th>
|
2020-03-29 16:35:39 +00:00
|
|
|
<td>{{.Birth}}</td>
|
2013-07-24 10:37:51 +00:00
|
|
|
</tr>
|
2016-12-03 23:37:59 +00:00
|
|
|
<tr>
|
|
|
|
<th>Working Directory</th>
|
|
|
|
<td>{{.CWD}}</td>
|
|
|
|
</tr>
|
2018-03-21 16:08:37 +00: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 16:35:39 +00:00
|
|
|
<td>{{.LastConfigTime}}</td>
|
2018-03-21 16:08:37 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>WAL corruptions</th>
|
|
|
|
<td>{{.CorruptionCount}}</td>
|
|
|
|
</tr>
|
2018-03-07 15:14:46 +00:00
|
|
|
<tr>
|
2018-03-21 16:08:37 +00:00
|
|
|
<th>Goroutines</th>
|
2018-03-07 15:14:46 +00:00
|
|
|
<td>{{.GoroutineCount}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>GOMAXPROCS</th>
|
|
|
|
<td>{{.GOMAXPROCS}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>GOGC</th>
|
|
|
|
<td>{{.GOGC}}</td>
|
|
|
|
</tr>
|
2019-03-18 11:10:13 +00:00
|
|
|
<tr>
|
|
|
|
<th>GODEBUG</th>
|
|
|
|
<td>{{.GODEBUG}}</td>
|
|
|
|
</tr>
|
2019-03-11 17:18:57 +00:00
|
|
|
<tr>
|
|
|
|
<th>Storage Retention</th>
|
|
|
|
<td>{{.StorageRetention}}</td>
|
|
|
|
</tr>
|
2013-07-24 10:37:51 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2015-07-30 19:39:05 +00:00
|
|
|
<h2 id="buildinformation">Build Information</h2>
|
2019-02-07 21:18:09 +00:00
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
2013-07-24 10:37:51 +00:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2016-05-05 11:46:51 +00: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 10:37:51 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-11-23 17:23:09 +00:00
|
|
|
|
|
|
|
<h2 id="alertmanagers">Alertmanagers</h2>
|
2019-02-07 21:18:09 +00:00
|
|
|
<table class="table table-sm table-bordered table-striped table-hover">
|
2016-11-23 17:23:09 +00:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Endpoint</th>
|
|
|
|
</tr>
|
|
|
|
{{range .Alertmanagers}}
|
|
|
|
<tr>
|
2017-04-25 05:42:33 +00:00
|
|
|
{{/* Alertmanager URLs always have Scheme, Host and Path set */}}
|
|
|
|
<td>{{.Scheme}}://<a href="{{.Scheme}}://{{.Host}}">{{.Host}}</a>{{.Path}}</td>
|
2016-11-23 17:23:09 +00:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2019-11-05 02:06:13 +00: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 22:08:43 +00:00
|
|
|
<th>Current Max Time</th>
|
2019-11-05 02:06:13 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-26 09:39:06 +00:00
|
|
|
<td scope="row">{{ .NumSeries}}</td>
|
2020-07-09 22:08:43 +00:00
|
|
|
<td>{{.ChunkCount}}</td>
|
|
|
|
<td>{{ .MinTime | unixToTime }} ({{ .MinTime }})</td>
|
|
|
|
<td>{{ .MaxTime | unixToTime }} ({{ .MaxTime }})</td>
|
2019-11-05 02:06:13 +00: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 09:39:06 +00:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 22:08:43 +00:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-05 02:06:13 +00: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 09:39:06 +00:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 22:08:43 +00:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-05 02:06:13 +00: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 09:39:06 +00:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 22:08:43 +00:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-05 02:06:13 +00:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
2020-07-09 22:08:43 +00:00
|
|
|
</table>
|
2019-11-05 02:06:13 +00: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 09:39:06 +00:00
|
|
|
<td scope="row">{{.Name}}</td>
|
2020-07-09 22:08:43 +00:00
|
|
|
<td>{{.Count}}</td>
|
2019-11-05 02:06:13 +00:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
2020-07-09 22:08:43 +00:00
|
|
|
</table>
|
2013-07-24 10:37:51 +00:00
|
|
|
</div>
|
2013-03-27 16:40:01 +00:00
|
|
|
{{end}}
|