mirror of
https://github.com/prymitive/karma
synced 2026-02-13 20:59:53 +00:00
chore(docs): update docs
This commit is contained in:
committed by
Łukasz Mierzwa
parent
945e4a2db3
commit
8a121f0368
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## v0.121
|
||||
|
||||
### Added
|
||||
|
||||
- Added `receivers:keep_re` and `receivers:strip_re` options - #6400.
|
||||
|
||||
## v0.120
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -1217,12 +1217,16 @@ Syntax:
|
||||
```YAML
|
||||
receivers:
|
||||
keep: list of strings
|
||||
keep_re: list of regex expressions
|
||||
strip: list of strings
|
||||
strip_re: list of regex expressions
|
||||
```
|
||||
|
||||
- `keep` - list of receivers name that are allowed, if empty all receivers are
|
||||
allowed.
|
||||
- `keep_re` - same as `keep` but accepts regular expression instead of static strings.
|
||||
- `strip` - list of receiver names that will not be shown in the UI.
|
||||
- `strip_re` - same as `strip` but accepts regular expression instead of static strings.
|
||||
|
||||
Example where alerts that are routed to the `alertmanage2es` receiver are
|
||||
ignored by karma.
|
||||
@@ -1233,11 +1237,20 @@ receivers:
|
||||
- alertmanage2es
|
||||
```
|
||||
|
||||
```YAML
|
||||
receivers:
|
||||
strip_re:
|
||||
- alertmanager.+
|
||||
```
|
||||
|
||||
Defaults:
|
||||
|
||||
```YAML
|
||||
receivers:
|
||||
keep: []
|
||||
keep_re: []
|
||||
strip: []
|
||||
strip_re: []
|
||||
```
|
||||
|
||||
## Silence form
|
||||
|
||||
Reference in New Issue
Block a user