mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 22:49:40 -08:00
Always show instance label on target page. (#2062)
This commit is contained in:
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}}="{{$v | html | html}}"{{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}}="{{$v | html | html}}"{{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…
Reference in a new issue