VictoriaMetrics/lib/streamaggr
Aliaksandr Valialkin 9c4b0334f2
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 13:52:13 +02:00
..
avg.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
count_samples.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
count_series.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
dedup.go lib/streamaggr: prevent from data race inside dedupAggrShard when samplesBuf can be updated in pushSamples() while their values are read in the flush() loop without das.mu lock 2024-06-11 17:31:16 +02:00
dedup_test.go lib/streamaggr: reduce memory allocations by using dedupAggrSample buffer per each dedupAggrShard 2024-06-10 16:38:42 +02:00
dedup_timing_test.go lib/streamaggr: reduce the number of duplicates per each sample in BenchmarkDedupAggr from 100 to 2 2024-06-10 16:38:41 +02:00
deduplicator.go app/vmagent/remotewrite: follow-up for f153f54d11 2024-07-15 20:24:01 +02:00
deduplicator_test.go app/vmagent/remotewrite,lib/streamaggr: re-use common code in tests after 879771808b 2024-07-03 15:21:36 +02:00
deduplicator_timing_test.go lib/streamaggr: added stale samples metric, added metrics labels (#6462) 2024-07-01 14:56:17 +02:00
histogram_bucket.go app/vmagent/remotewrite: follow-up for f153f54d11 2024-07-15 20:24:01 +02:00
last.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
max.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
min.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
quantiles.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
rate.go app/vmagent/remotewrite: follow-up for f153f54d11 2024-07-15 20:24:01 +02:00
stddev.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
stdvar.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
streamaggr.go lib/streamaggr/streamaggr.go: typo fix after 5e29ef5ed5: IgnoredNaNSamples -> ignoredNaNSamples 2024-07-15 21:58:56 +02:00
streamaggr_test.go app/vmagent/remotewrite: follow-up for f153f54d11 2024-07-15 20:24:01 +02:00
streamaggr_timing_test.go all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 13:52:13 +02:00
sum_samples.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
total.go app/vmagent/remotewrite: follow-up for f153f54d11 2024-07-15 20:24:01 +02:00
unique_samples.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00