VictoriaMetrics/app/vmalert/remotewrite
Roman Khavronenko fdb898f249
app/vmalert: update -remoteWrite.concurrency and -remoteWrite.flushInterval (#7272)
Auto-adjust `-remoteWrite.concurrency` cmd-line flags with the number of
available CPU cores in the same way as vmagent does. With this change
the default behavior of vmalert in high-loaded installation should
become more resilient. This change also reduces
`-remoteWrite.flushInterval` from `5s` to `2s` to provide better data
freshness.


---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Nikolay <nik@victoriametrics.com>
2024-10-22 17:28:51 +02:00
..
client.go app/vmalert: update -remoteWrite.concurrency and -remoteWrite.flushInterval (#7272) 2024-10-22 17:28:51 +02:00
client_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:45:50 +02:00
debug_client.go lib/httputils: parse URL before creating HTTP transport (#6820) 2024-08-16 11:34:49 +02:00
debug_client_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
init.go app/vmalert: update -remoteWrite.concurrency and -remoteWrite.flushInterval (#7272) 2024-10-22 17:28:51 +02:00
init_test.go Vmalert tests (#3975) 2023-03-17 16:16:13 -07:00
remotewrite.go app/vmalert: follow-up bc37b279aa 2024-06-20 15:15:58 +02:00