VictoriaMetrics/app/vmalert/rule
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
..
alerting.go app/vmalert: add label file pointing to the group's filename to metrics (#5281) 2023-11-02 16:01:31 +01:00
alerting_test.go app/vmalert: verify alert name correctness in restore test 2023-11-02 15:28:39 +01:00
group.go app/vmalert: update remote-write process (#5284) 2023-11-08 14:53:07 +08:00
group_test.go app/vmalert: fix typo in tests 2023-10-25 16:28:27 +02:00
recording.go app/vmalert: add label file pointing to the group's filename to metrics (#5281) 2023-11-02 16:01:31 +01:00
recording_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
rule.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
test_helpers.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
utils.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
utils_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00