mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
Add @receiver filter to the help page
This commit is contained in:
@@ -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
Reference in New Issue
Block a user