VictoriaMetrics/app
Jiekun eb4b59613b
app/vmalert: respect batch size limit for remote write on shutdown ()
During shutdown period of vmalert, remotewrite client retrieve all pending time series from buffer queue, compose them into 1 batch and execute remote write.

This final batch may exceed the limit of -remoteWrite.maxBatchSize, and be rejected by the receiver (gateway, vmcluster or others).

This changes ensures that even during shutdown vmalert won't exceed the max batch size limit for remote write
destination.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6025

(cherry picked from commit 623d257faf)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-03-29 14:56:58 +01:00
..
victoria-logs lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vlinsert app/vlinsert/elasticsearch: add a command-line flag to provide ES version () 2023-08-11 06:57:01 -07:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 86f1459ca6 2023-08-11 07:01:15 -07:00
vlstorage app/vlstorage: expose vl_data_size_bytes metric at /metrics page for tracking the on-disk data size (both indexdb and the data itself) 2023-07-31 07:56:16 -07:00
vmagent app/{vmagent,vminsert}: follow-up for 434a5803e7 2024-02-29 18:10:40 +02:00
vmalert app/vmalert: respect batch size limit for remote write on shutdown () 2024-03-29 14:56:58 +01:00
vmauth all: upgrade Go builder from Go1.21.7 to Go1.22.0 2024-02-12 22:46:51 +02:00
vmbackup all: upgrade Go builder from Go1.21.7 to Go1.22.0 2024-02-12 22:46:51 +02:00
vmbackupmanager lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 13:17:20 +02:00
vmctl [lib/httputils] fixed floating-point error when parsing time in RFC3339 format () 2024-02-23 00:56:45 +02:00
vmgateway lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 13:17:20 +02:00
vminsert app/{vmagent,vminsert}: follow-up for 434a5803e7 2024-02-29 18:10:40 +02:00
vmrestore all: upgrade Go builder from Go1.21.7 to Go1.22.0 2024-02-12 22:46:51 +02:00
vmselect metricsql: fix label_join() when dst_label is equal to one of the `… () 2024-02-29 16:04:41 +02:00
vmstorage app/vmstorage: deregister storage metrics before stopping the storage 2024-01-16 23:32:01 +02:00
vmui deployment/docker: update Go builder from Go1.21.7 to Go1.22.1 2024-03-06 21:08:11 +02:00