chore(docs): update docs

This commit is contained in:
Łukasz Mierzwa
2025-03-17 21:00:26 +00:00
committed by Łukasz Mierzwa
parent 945e4a2db3
commit 8a121f0368
2 changed files with 19 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## v0.121
### Added
- Added `receivers:keep_re` and `receivers:strip_re` options - #6400.
## v0.120
### Changed

View File

@@ -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