diff --git a/lib/promscrape/targets_response.qtpl b/lib/promscrape/targets_response.qtpl index cce1ae6c5..8729335b1 100644 --- a/lib/promscrape/targets_response.qtpl +++ b/lib/promscrape/targets_response.qtpl @@ -29,6 +29,8 @@ job={%q= js.job %}{% space %} ({%d js.upCount %}/{%d js.targetsTotal %} {% space {% func TargetsResponseHTML(jts []jobTargetsStatuses, redirectPath string, onlyUnhealthy bool) %} + + - - - - VictoriaMetrics Database - - + + Scrape targets + +

Targets

{% endfor %} - + {% endfunc %} {% func formatLabel(labels []prompbmarshal.Label) %} {% for _, label := range labels %} - {% space %} {%s label.Name %}={%q label.Value %} {% space %} + {% space %} {%s label.Name %}={%q label.Value %} {% space %} {% endfor %} {% endfunc %} + {% endstripspace %} diff --git a/lib/promscrape/targets_response.qtpl.go b/lib/promscrape/targets_response.qtpl.go index 34ecfb8c4..1d7ed7a2e 100644 --- a/lib/promscrape/targets_response.qtpl.go +++ b/lib/promscrape/targets_response.qtpl.go @@ -163,7 +163,7 @@ func TargetsResponsePlain(jts []jobTargetsStatuses, showOriginLabels bool) strin //line lib/promscrape/targets_response.qtpl:30 func StreamTargetsResponseHTML(qw422016 *qt422016.Writer, jts []jobTargetsStatuses, redirectPath string, onlyUnhealthy bool) { //line lib/promscrape/targets_response.qtpl:30 - qw422016.N().S(`VictoriaMetrics Database

Targets