VictoriaMetrics/lib/protoparser
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
..
clusternative/stream Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
common lib/protoparser: decrease import.maxLineLen from 100MB to 10MB (#5364) 2023-11-24 13:13:33 +02:00
csvimport lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
datadogsketches lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
datadogutils lib: consistently use regexp.Regexp.ReplaceAllLiteralString instead of regexp.Regexp.ReplaceAllString in places where the replacement cannot contain matching group placeholders 2024-07-17 12:57:43 +02:00
datadogv1 lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
datadogv2 lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
graphite lib/protoparser/graphite: use Regex.ReplaceAllLiteralString instead of Regex.ReplaceAllString for the case when the replacement cannot contain placeholders for capturing groups 2024-07-17 13:01:35 +02:00
influx lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
native/stream all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
newrelic lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
opentelemetry 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
opentsdb lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
opentsdbhttp lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
prometheus Revert "Exemplar support (#5982)" 2024-07-03 16:09:18 +02:00
promremotewrite/stream lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
vmimport lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00