VictoriaMetrics/app/vminsert
Roman Khavronenko 470c82919e
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 23:05:53 -07:00
..
common vminsert: properly reset labels object on aggregation (#4278) 2023-05-09 23:05:53 -07:00
csvimport lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
datadog lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
graphite lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
influx lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
native lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
opentsdb lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
opentsdbhttp lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
prometheusimport app/{vmagent,vminsert}: follow-up for 1cfa183c2b 2023-01-23 22:26:53 -08:00
prompush lib/promscrape: follow-up after 2c553d5a2f 2022-08-08 14:46:26 +03:00
promremotewrite lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
relabel lib/promscrape: implement target-level and metric-level relabel debugging 2022-12-10 02:09:44 -08:00
static/css all: follow-up after 8edb390e21 2022-06-07 00:57:09 +03:00
vmimport lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00
main.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:08:35 -08:00
README.md all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00

vminsert routes the ingested data to vmstorage.