mirror of
https://github.com/prometheus/prometheus
synced 2025-01-29 02:42:52 +00:00
Fix blown-up scrape error display in web UI.
This commit is contained in:
parent
364003c444
commit
c7039c3a73
@ -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 New Issue
Block a user