12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <table style="border-spacing: 0">
- <tr>
- <td colspan=1 align=left><b>Span Name</b></td>
- <td> | </td><td colspan=1 align="center"><b>Running</b></td>
- <td> | </td>
- <td colspan=9 align="center"><b>Latency Samples</b></td>
- <td> | </td>
- <td colspan=1 align="center"><b>Error Samples</b></td>
- </tr>
- <tr>
- <td colspan=1></td>
- <td> | </td>
- <td colspan=1></td>
- <td> | </td>
- {{range .LatencyBucketNames}}<th colspan=1 align="center"><b>[{{.}}]</b></th>{{end}}
- <td> | </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> | </td>
- {{- if $links -}}
- <td align="center"><a href="{{$a}}?zspanname={{$name}}&ztype=0">{{.Active}}</a></td>
- {{- else -}}
- <td>{{.Active}}</td>
- {{- end -}}
- <td> | </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> | </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>
|