VictoriaMetrics/app/vmalert/notifier
Roman Khavronenko 276e9301f4
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:09:07 +02:00
..
testdata vmalert: support specifying full http url in notifier static_configs target (#5261) 2023-11-01 16:44:54 +01:00
alert.go app/vmalert: sanitize label names before sending to Alertmanager (#5442) 2023-12-08 18:09:07 +02:00
alert_test.go app/vmalert: sanitize label names before sending to Alertmanager (#5442) 2023-12-08 18:09:07 +02:00
alertmanager.go fix inconsistent behaviors with prometheus when scraping (#5153) 2023-10-26 08:56:54 +02: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 app/vmalert: follow-up after 6c322b4a00 (#4214) 2023-05-08 17:20:49 -07:00
config.go vmalert: support specifying full http url in notifier static_configs target (#5261) 2023-11-01 16:44:54 +01:00
config_test.go vmalert: add DNS service discovery (#2465) 2022-04-13 14:14:25 +03:00
config_watcher.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
config_watcher_test.go vmalert: support specifying full http url in notifier static_configs target (#5261) 2023-11-01 16:44:54 +01:00
faker.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
init.go app/vmalert/notifier: remove backticks from the description for -notifier.blackhole command-line flag 2023-11-22 20:17:45 +02:00
init_test.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 16:03:28 -07:00
notifier.go vmalert: allow configuring custom notifier headers per group (#4088) 2023-05-08 17:07:44 -07:00
notifier_blackhole.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 16:03:28 -07:00
notifier_blackhole_test.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 16:03:28 -07:00
package_test.go added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00