VictoriaMetrics/app/vmalert/remotewrite
Roman Khavronenko becf7bf8df
app/vmalert: update remote-write process (#5284)
* app/vmalert: update remote-write process

* automatically retry remote-write requests on closed connections. The change should reduce the amount of logs produced in environments with short-living connections or environments without support of keep-alive on network balancers.
* increment `vmalert_remotewrite_errors_total` metric if all retries to send remote-write request failed. Before, this metric was incremented only if remote-write client's buffer is overloaded.
* increment `vmalert_remotewrite_dropped_rows_total` amd `vmalert_remotewrite_dropped_bytes_total` metrics if remote-write client's buffer is overloaded. Before, these metrics were incremented only after unsuccessful HTTP calls.

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

* Update docs/CHANGELOG.md

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Hui Wang <haley@victoriametrics.com>
2023-11-13 09:25:29 +01:00
..
client_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
client.go app/vmalert: update remote-write process (#5284) 2023-11-13 09:25:29 +01: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 app/vmalert: fix typo in remoteWrite.concurrency description 2023-11-03 22:05:00 +01:00
remotewrite.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00