mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00: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.go | ||
alert_test.go | ||
alertmanager.go | ||
alertmanager_request.qtpl | ||
alertmanager_request.qtpl.go | ||
alertmanager_test.go | ||
config.go | ||
config_test.go | ||
config_watcher.go | ||
config_watcher_test.go | ||
faker.go | ||
init.go | ||
init_test.go | ||
notifier.go | ||
notifier_blackhole.go | ||
notifier_blackhole_test.go | ||
package_test.go |