mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
Merge pull request #840 from prometheus/fix-scrape-errors-ui
Fix blown-up scrape error display in web UI.
This commit is contained in:
commit
9607b8bbdb
|
@ -12,7 +12,6 @@ th.job_header {
|
|||
|
||||
.state_indicator {
|
||||
padding: 0 4px 0 4px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.literal_output td {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<span class="label label-primary">{{$label}}="{{$value}}"</span>
|
||||
{{end}}
|
||||
</td>
|
||||
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator">{{.State}}</span></td>
|
||||
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator text-uppercase">{{.State}}</span></td>
|
||||
<td>{{.ActiveSince.Time.UTC}}</td>
|
||||
<td>{{.Value}}</td>
|
||||
<td><a href="#" class="silence_alert_link">Silence…</a></td>
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
{{end}}
|
||||
</td>
|
||||
<td>
|
||||
<span class="alert alert-{{ .Status.Health | healthToClass }} state_indicator">
|
||||
<span class="alert alert-{{ .Status.Health | healthToClass }} state_indicator text-uppercase">
|
||||
{{.Status.Health}}
|
||||
</span>
|
||||
</td>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</td>
|
||||
<td>
|
||||
{{if .Status.LastError}}
|
||||
<span class="alert alert-danger target_status_alert">{{.Status.LastError}}</span>
|
||||
<span class="alert alert-danger state_indicator">{{.Status.LastError}}</span>
|
||||
{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue