VictoriaMetrics/lib/protoparser
Aliaksandr Valialkin b7fe7b801c
Revert "lib/protoparser: fix skip csv line when metric can be collect from the line (#4298)"
This reverts commit 410ae99c2e.

Reason for revert: the commit masks the real issue instead of fixing it.
The real issue is that the scanner.NextColumn() skips the last column if it is empty.

The commit also introduces two bugs:

- a panic if all the metric values in CSV line are empty
- silent import of CSV lines with too small number of columns

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4048
See https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4298
2023-05-12 15:22:27 -07:00
..
common fix some typo (#3898) 2023-03-03 11:02:13 +01:00
csvimport Revert "lib/protoparser: fix skip csv line when metric can be collect from the line (#4298)" 2023-05-12 15:22:27 -07:00
datadog lib/protoparser/influx: extract stream parsing code into a separate stream package 2023-02-13 09:58:52 -08:00
graphite lib/protoparser/graphite: extract stream parsing code into a separate stream package 2023-02-13 10:32:36 -08:00
influx lib/protoparser/influx: extract stream parsing code into a separate stream package 2023-02-13 09:58:52 -08:00
native/stream lib/protoparser/native: extract stream parsing code into a separate stream package 2023-02-13 10:43:05 -08:00
opentsdb lib/protoparser/opentsdb: extract stream parsing code into a separate stream package 2023-02-13 10:03:16 -08:00
opentsdbhttp lib/opentsdbhttp: fix a typo preventing from using writeconcurrencylimiter (#4208) 2023-04-27 09:22:42 +02:00
prometheus all: rename ParseStream -> stream.Parse 2023-02-13 10:52:05 -08:00
promremotewrite/stream app/vmagent: add support for VictoriaMetrics remote write protocol, which allows saving up to 10x on network bandwidth costs under high load 2023-02-20 19:11:30 -08:00
vmimport lib/protoparser/vmimport: extract stream parsing code into a separate stream package 2023-02-13 10:20:19 -08:00