VictoriaMetrics/app
Roman Khavronenko 491831df49
vminsert: properly reset labels object on aggregation (#4278)
Without reset, labels duplicates could have been added during stream aggregation.
Since `ctx.Labels` is reused during processing of many series, each series will
add its labels to the context. Even if the same labels were already addeded on prev
iteration. Now, we reset `ctx.Labels` on each iteration to contain so labels from
different series didn't interfere.

This could have cause exceeding of the limit on number of labels per pushed time series.

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

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-05-09 08:33:58 -07:00
..
victoria-metrics lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmagent app/vmagent/remotewrite: make more user-friendly the warning message about too small -remoteWrite.maxdiskUsagePerURL value 2023-05-08 15:42:30 -07:00
vmalert docs/vmalert.md: clarify docs regarding the support of recursive globs 2023-05-08 16:21:44 -07:00
vmauth app/vmauth: merge default_url example into multi-url example in order to reduce the amounts of text to read for the user 2023-05-08 15:12:23 -07:00
vmbackup lib/backup: fixes path generation for windows (#4133) 2023-05-03 10:48:53 +02:00
vmbackupmanager Revert "http server: limit max concurrent requests (#4185)" (#4215) 2023-04-27 13:02:47 +02:00
vmctl app/{vmselect,vmctl}: move ParseTime() to lib/promutils 2023-05-08 14:17:57 -07:00
vmgateway Revert "http server: limit max concurrent requests (#4185)" (#4215) 2023-04-27 13:02:47 +02:00
vminsert vminsert: properly reset labels object on aggregation (#4278) 2023-05-09 08:33:58 -07:00
vmrestore Revert "http server: limit max concurrent requests (#4185)" (#4215) 2023-04-27 13:02:47 +02:00
vmselect app/vmselect: small cleanup after 4f3f9950d0 2023-05-08 14:57:11 -07:00
vmstorage lib/storage: replace OpenStorage() with MustOpenStorage() 2023-04-14 23:02:40 -07:00
vmui all: update Go builder from Go1.20.3 to Go1.20.4 2023-05-08 09:40:55 -07:00