mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-30 02:02:48 +00:00
Show alerting rules and link back to Prometheus.
This commit is contained in:
parent
b05c4051d7
commit
3d897d43b7
@ -13,6 +13,8 @@
|
||||
<th>Labels</th>
|
||||
<th>Active Since</th>
|
||||
<th>Last Refreshed</th>
|
||||
<th>Generated By</th>
|
||||
<th>Alerting Rule</th>
|
||||
<th>Silenced</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -44,6 +46,8 @@
|
||||
</td>
|
||||
<td>{{timeSince .Created}} ago</td>
|
||||
<td>{{timeSince .LastRefreshed}} ago</td>
|
||||
<td><a href="{{.Event.Payload.GeneratorUrl}}">{{.Event.Payload.GeneratorUrl}}</a></td>
|
||||
<td>{{.Event.Payload.AlertingRule}}</td>
|
||||
<td>
|
||||
{{$silence := call $silenceForEvent .Event}}
|
||||
{{if $silence}}
|
||||
|
Loading…
Reference in New Issue
Block a user