VictoriaMetrics/app/vmalert/datasource
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
..
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:20:38 +03:00
datasource.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
faker.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
init.go fix inconsistent behaviors with prometheus when scraping (#5153) 2023-10-17 17:58:19 +08:00
vm_graphite_api.go app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries (#4687) 2023-07-21 14:28:10 +04:00
vm_prom_api_test.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
vm_prom_api.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
vm_test.go fix inconsistent behaviors with prometheus when scraping (#5153) 2023-10-17 17:58:19 +08:00
vm.go fix inconsistent behaviors with prometheus when scraping (#5153) 2023-10-17 17:58:19 +08:00