Add @receiver filter to the help page

This commit is contained in:
Łukasz Mierzwa
2017-06-05 21:46:03 -07:00
parent 1521311f1d
commit 1dfd20fbeb
2 changed files with 25 additions and 1 deletions

View File

@@ -129,6 +129,30 @@
</tr>
</thead>
<tbody>
<tr>
<td id="help-receiver">
<code>@receiver(= != =~ !~)$value</code>
</td>
<td>
<p>Match alerts based on the receiver name.</p>
<table class="table examples">
<tbody>
<tr>
<td><span class="label label-info">@receiver=default</span></td>
<td>Match alerts sent to the default receiver.</td>
</tr>
<tr>
<td><span class="label label-info">@receiver!=hipchat</span></td>
<td>Match alerts not sent to the hipchat receiver.</td>
</tr>
<tr>
<td><span class="label label-info">@receiver=~email</span></td>
<td>Match alerts sent to any receiver with name matching regular expression <code>/.*email.*/</code>.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td id="help-state">
<code>@state=(active suppresed unprocessed)</code>

File diff suppressed because one or more lines are too long