VictoriaMetrics/app
Roman Khavronenko 68150655d2
vmalert: correctly re-instantinate HTTP req on retries (#4864)
* vmalert: correctly re-instantinate HTTP req on retries

Previosly, request retry to datasource re-used existing HTTP request.
But if request object was already partially processed (body was read),
then retry will be unsuccessful.

The change re-instantinates HTTP request object before retry.

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

* vmalert: review fix

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

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit ddf87b32ed)
2023-08-27 09:04:42 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-07-06 21:36:28 -07:00
vlinsert app/vlinsert/elasticsearch: add a command-line flag to provide ES version (#4778) 2023-08-11 06:57:01 -07:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 86f1459ca6 2023-08-11 07:01:15 -07:00
vlstorage app/vlstorage: expose vl_data_size_bytes metric at /metrics page for tracking the on-disk data size (both indexdb and the data itself) 2023-07-31 07:56:16 -07:00
vmagent lib/promscrape: add -promscrape.cluster.memberLabel command-line flag 2023-08-24 22:04:34 +02:00
vmalert vmalert: correctly re-instantinate HTTP req on retries (#4864) 2023-08-27 09:04:42 +02:00
vmauth Fix typo in vmauth docs. 2023-08-21 15:50:19 +02:00
vmbackup vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-16 14:56:52 +02:00
vmbackupmanager docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:40:06 -07:00
vmctl app/vmctl: fix migration process if tenant have no data (#4799) 2023-08-16 14:56:52 +02:00
vmgateway docs: follow-up after aec4b5db81 (#4638) 2023-07-19 14:48:17 -07:00
vminsert lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-14 16:18:17 +02:00
vmrestore docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:40:06 -07:00
vmselect vmselect: follow-up after 7349f18c55 2023-08-21 15:50:19 +02:00
vmstorage all: refer to https://docs.victoriametrics.com/#resource-usage-limits in the error message about -search.max* limit 2023-08-14 02:02:12 -07:00
vmui vmui: change warning display for text fields (#4848) (#4863) 2023-08-21 15:50:20 +02:00