VictoriaMetrics/app/vmalert/remotewrite
Roman Khavronenko bffd30b57a
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-08 14:53:07 +08:00
..
client.go app/vmalert: update remote-write process (#5284) 2023-11-08 14:53:07 +08:00
client_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
debug_client.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
debug_client_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
init.go app/vmalert: fix typo in remoteWrite.concurrency description 2023-11-03 22:04:50 +01:00
init_test.go Vmalert tests (#3975) 2023-03-17 15:57:24 +01:00
remotewrite.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00