VictoriaMetrics/app/vmalert/notifier
Roman Khavronenko f0099c4db7
app/vmalert: sanitize label names before sending to Alertmanager (#5442)
Before, vmalert would send notifications with labels containing characters
  not supported by Alertmanager validator, resulting into validation errors
  like `msg="Failed to validate alerts" err="invalid label set: invalid name "foo.bar"`

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-12-08 18:12:42 +02:00
..
testdata vmalert: support auth configs per static_target (#3188) 2022-09-30 18:38:11 +03:00
alert.go app/vmalert: sanitize label names before sending to Alertmanager (#5442) 2023-12-08 18:12:42 +02:00
alert_test.go app/vmalert: sanitize label names before sending to Alertmanager (#5442) 2023-12-08 18:12:42 +02:00
alertmanager.go all: subsitute ioutil.ReadAll with io.ReadAll 2022-08-22 00:16:04 +03:00
alertmanager_request.qtpl fix issue#3053 (#3182) 2022-10-10 21:54:18 +03:00
alertmanager_request.qtpl.go vmalert: revert unexpected fileds rename during refactoring (#3222) 2022-10-12 09:33:16 +03:00
alertmanager_test.go fix issue#3053 (#3182) 2022-10-10 21:54:18 +03:00
config.go lib/promscrape: implement target-level and metric-level relabel debugging 2022-12-10 02:25:56 -08:00
config_test.go vmalert: add DNS service discovery (#2465) 2022-04-13 14:14:25 +03:00
config_watcher.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
config_watcher_test.go app/vmalert: use consistent randomizer in tests 2023-01-23 19:25:32 -08:00
init.go vmalert: mention specifics of Alertmanager HA mode (#3573) 2023-01-03 21:46:00 -08:00
notifier.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
package_test.go added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00