VictoriaMetrics/app/vmalert/notifier
Hui Wang e16d3f5639
fix inconsistent behaviors with prometheus when scraping (#5153)
* fix inconsistent behaviors with prometheus when scraping

1. address https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4959. skip job with wrong syntax in `scrape_configs` with error logs instead of exiting;
2. show error messages on vmagent /targets ui if there are wrong auth configs in `scrape_configs`, previously will print error logs and do scrape without auth header;
3. don't send requests if there are wrong auth configs in:
    1. vmagent remoteWrite;
    2. vmalert datasource/remoteRead/remoteWrite/notifier.

* add changelogs

* address review comments

* fix ut
2023-10-17 17:58:19 +08:00
..
testdata vmalert: support auth configs per static_target (#3188) 2022-09-30 17:10:17 +02:00
alert.go vmalert: add keep_firing_for field for alerting rule (#4669) 2023-07-27 15:13:13 +02:00
alert_test.go Vmalert tests (#3975) 2023-03-17 15:57:24 +01:00
alertmanager.go fix inconsistent behaviors with prometheus when scraping (#5153) 2023-10-17 17:58:19 +08:00
alertmanager_request.qtpl fix issue#3053 (#3182) 2022-10-10 09:44:58 +02:00
alertmanager_request.qtpl.go vmalert: revert unexpected fileds rename during refactoring (#3222) 2022-10-11 12:37:47 +02:00
alertmanager_test.go app/vmalert: follow-up after 6c322b4a00 (#4214) 2023-04-27 13:02:21 +02:00
config.go app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
config_test.go vmalert: add DNS service discovery (#2465) 2022-04-13 11:50:26 +03:00
config_watcher.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
config_watcher_test.go vmalert: fix redundant clean up move (#4803) 2023-08-09 21:16:00 +02:00
faker.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
init.go app/vmalert: hide sensetive info in the vmalert (#5059) 2023-10-10 11:40:27 +02:00
init_test.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 15:53:37 +02:00
notifier.go vmalert: allow configuring custom notifier headers per group (#4088) 2023-04-27 12:17:26 +02:00
notifier_blackhole.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 15:53:37 +02:00
notifier_blackhole_test.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 15:53:37 +02:00
package_test.go added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00