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