Always show instance label on target page. (#2062)

pull/2080/head
Matthias Rampke 8 years ago committed by Tobias Schmidt
parent 274d008fbf
commit 4f96d28e60

File diff suppressed because one or more lines are too long

@ -33,7 +33,7 @@
</td> </td>
<td> <td>
<span class="cursor-pointer" data-toggle="tooltip" title="" data-html=true data-original-title="<b>Before relabeling:</b>{{range $k, $v := .MetaLabels}}<br>{{$k | html | html}}=&quot;{{$v | html | html}}&quot;{{end}}"> <span class="cursor-pointer" data-toggle="tooltip" title="" data-html=true data-original-title="<b>Before relabeling:</b>{{range $k, $v := .MetaLabels}}<br>{{$k | html | html}}=&quot;{{$v | html | html}}&quot;{{end}}">
{{$labels := stripLabels .Labels "job" "instance"}} {{$labels := stripLabels .Labels "job"}}
{{range $label, $value := $labels}} {{range $label, $value := $labels}}
<span class="label label-primary">{{$label}}="{{$value}}"</span> <span class="label label-primary">{{$label}}="{{$value}}"</span>
{{else}} {{else}}

Loading…
Cancel
Save