feat(alerting): list all series in alert email
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<table class="twelve columns">
|
||||
<tr>
|
||||
<td class="center">
|
||||
<h3 style="text-align:center;color: [[.SeverityColor]]; font-weight: bold;">[[.Title]]</h3>
|
||||
<h3 style="/*text-align:center*/;color: [[.SeverityColor]]; font-weight: bold;">[[.Title]]</h3>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -20,12 +20,46 @@
|
||||
<table class="twelve columns">
|
||||
<tr>
|
||||
<td class="center">
|
||||
<p style="text-align:center">[[.Message]]</p>
|
||||
<p style="/*text-align:center*/">[[.Message]]</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[[if ne .State "ok" ]]
|
||||
<table class="row" >
|
||||
<tr>
|
||||
<td class="wrapper last">
|
||||
<center>
|
||||
<table class="twelve columns" >
|
||||
<tr>
|
||||
<td class="wrapper last" style="font-weight: bold;">
|
||||
Metric name
|
||||
</td>
|
||||
<td style="font-weight: bold;">
|
||||
Value
|
||||
</td>
|
||||
</tr>
|
||||
[[range .Events]]
|
||||
<tr>
|
||||
<td class="wrapper last">
|
||||
[[.Metric]]
|
||||
</td>
|
||||
<td>
|
||||
[[.Value]]
|
||||
</td>
|
||||
</tr>
|
||||
[[end]]
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[[end]]
|
||||
|
||||
<table class="row" >
|
||||
<tr>
|
||||
<td class="wrapper last">
|
||||
<table class="twelve columns">
|
||||
@@ -39,6 +73,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="row">
|
||||
<tr>
|
||||
<td class="wrapper last">
|
||||
|
||||
Reference in New Issue
Block a user