mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 08:26:19 +01:00
c7fc0d0d2f
…pair
`alert_relabel_configs` in [notifier
config](https://docs.victoriametrics.com/vmalert/#notifier-configuration-file)
can drop alert labels when used to filter different tenant alert message
to different notifier.
alertmanager would report error like `msg="Failed to validate alerts"
err="at least one label pair required"` in this case, but the rest of
the alerts inside one request would still be valid in alertmanager, so
it's not severe.
(cherry picked from commit
|
||
---|---|---|
.. | ||
testdata | ||
alert_test.go | ||
alert.go | ||
alertmanager_request.qtpl | ||
alertmanager_request.qtpl.go | ||
alertmanager_test.go | ||
alertmanager.go | ||
config_test.go | ||
config_watcher_test.go | ||
config_watcher.go | ||
config.go | ||
faker.go | ||
init_test.go | ||
init.go | ||
notifier_blackhole_test.go | ||
notifier_blackhole.go | ||
notifier.go | ||
package_test.go |