File: summary.html

package info (click to toggle)
golang-opentelemetry-contrib 0.56.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,884 kB
  • sloc: makefile: 278; sh: 211; sed: 1
file content (43 lines) | stat: -rw-r--r-- 1,631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<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&zlatencybucket={{$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&zlatencybucket=0">{{.Errors}}</td>
{{- else -}}
    <td>{{.Errors}}</td>
{{- end -}}
</tr>
{{end}}</table>