VictoriaMetrics/app/vmalert/datasource
Roman Khavronenko de61a73c63
vmalert: retry datasource requests with EOF or unexpected EOF errors (#4146)
* vmalert: retry datasource requests with EOF or unexpected EOF errors

Retry failed read request on the closed connection one more time.
This may improve rules execution reliability when connection
between vmalert and datasource closes unexpectedly.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: fix old tests

Signed-off-by: hagen1778 <roman@victoriametrics.com>

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-04-19 10:18:32 +02:00
..
datasource.go vmalert: speed up state restore procedure on start (#3758) 2023-02-03 19:46:13 -08:00
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:20:38 +03:00
init.go app/vmalert: substitute -datasource.disablePathAppend with -remoteRead.disablePathAppend in the description for -datasource.url command-line flag 2022-11-29 20:36:41 -08:00
vm.go vmalert: retry datasource requests with EOF or unexpected EOF errors (#4146) 2023-04-19 10:18:32 +02:00
vm_graphite_api.go vmalert: introduce additional HTTP URL params per-group configuration (#1892) 2021-12-02 14:45:08 +02:00
vm_prom_api.go vmalert: reduce allocations for Prometheus resp parse (#3435) 2022-12-05 08:34:54 +01:00
vm_prom_api_test.go vmalert: reduce allocations for Prometheus resp parse (#3435) 2022-12-05 08:34:54 +01:00
vm_test.go vmalert: retry datasource requests with EOF or unexpected EOF errors (#4146) 2023-04-19 10:18:32 +02:00