mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
ed364a42e3
Before, relabeling for notifier configured via file was supported only for target labels discovered via SD. With this change, new config field `alert_relabel_configs` is introduced for applying relabeling to labels of sent alerts. Signed-off-by: hagen1778 <roman@victoriametrics.com>
7 lines
No EOL
144 B
YAML
7 lines
No EOL
144 B
YAML
static_configs:
|
|
- targets:
|
|
- localhost:9093
|
|
- localhost:9095
|
|
alert_relabel_configs:
|
|
- target_label: "foo"
|
|
replacement: "aaa" |