1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-21 13:21:17 +00:00
nginx-sso/vendor/go.opencensus.io/zpages/internal/templates/summary.html
Knut Ahlers 9b3c895c04
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:07 +02:00

43 lines
1.6 KiB
HTML

<table style="border-spacing: 0">
<tr>
<td colspan=1 align=left><b>Span Name</b></td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td><td colspan=1 align="center"><b>Running</b></td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
<td colspan=9 align="center"><b>Latency Samples</b></td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
<td colspan=1 align="center"><b>Error Samples</b></td>
</tr>
<tr>
<td colspan=1></td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
<td colspan=1></td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
{{range .LatencyBucketNames}}<th colspan=1 align="center"><b>[{{.}}]</b></th>{{end}}
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
<td colspan=1></td>
</tr>
{{$a := .TracesEndpoint}}
{{$links := .Links}}
{{range $rowindex, $row := .Rows}}
{{- $name := .Name}}
{{- if even $rowindex}}<tr style="background: #eee">{{else}}<tr>{{end -}}
<td>{{.Name}}</td><td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
{{- if $links -}}
<td align="center"><a href="{{$a}}?zspanname={{$name}}&ztype=0">{{.Active}}</a></td>
{{- else -}}
<td>{{.Active}}</td>
{{- end -}}
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
{{- if $links -}}
{{range $index, $value := .Latency}}<td align="center"><a href="{{$a}}?zspanname={{$name}}&ztype=1&zsubtype={{$index}}">{{$value}}</a></td>{{end}}
{{- else -}}
{{range .Latency}}<td>{{.}}</td>{{end}}
{{- end -}}
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
{{- if $links -}}
<td align="center"><a href="{{$a}}?zspanname={{$name}}&ztype=2&zsubtype=0">{{.Errors}}</td>
{{- else -}}
<td>{{.Errors}}</td>
{{- end -}}
</tr>
{{end}}</table>