VictoriaMetrics/lib/protoparser/opentelemetry/firehose
Aliaksandr Valialkin f8aa445945
all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter
The %q formatter may result in incorrectly formatted JSON string if the original string
contains special chars such as \x1b . They must be encoded as \u001b , otherwise the resulting JSON string
cannot be parsed by JSON parsers.

This is a follow-up for c0caa69939

See https://github.com/VictoriaMetrics/victorialogs-datasource/issues/24
2024-07-17 14:01:37 +02:00
..
http.go all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 14:01:37 +02:00
parser_test.go lib/protoparser/opentelemetry/firehose: verify that the full response is parsed properly in ProcessRequestBody 2024-03-01 00:39:47 +02:00
parser.go app/{vmagent,vminsert}: fixed firehose response (#6016) 2024-04-02 18:03:12 +03:00