VictoriaMetrics/app/vmalert/remotewrite
Hui Wang d7dd7614eb
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-26 08:56:54 +02:00
..
client_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
client.go fix inconsistent behaviors with prometheus when scraping (#5153) 2023-10-26 08:56:54 +02:00
debug_client_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
debug_client.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
init_test.go Vmalert tests (#3975) 2023-03-17 16:16:13 -07:00
init.go fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
remotewrite.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00