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

This commit is contained in:
Matthias Rampke 2016-10-12 12:45:47 +02:00 committed by Tobias Schmidt
parent 274d008fbf
commit 4f96d28e60
2 changed files with 72 additions and 72 deletions

File diff suppressed because one or more lines are too long

View file

@ -33,7 +33,7 @@
</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}}">
{{$labels := stripLabels .Labels "job" "instance"}}
{{$labels := stripLabels .Labels "job"}}
{{range $label, $value := $labels}}
<span class="label label-primary">{{$label}}="{{$value}}"</span>
{{else}}