mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
fa9601a0f1
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" |