VictoriaMetrics/app/vmselect/netstorage
Aliaksandr Valialkin 7d5d33fd71
lib/storage: return marshaled metric names from SearchMetricNames
Previously SearchMetricNames was returning unmarshaled metric names.
This wasn't great for vmstorage, which should spend additional CPU time
for marshaling the metric names before sending them to vmselect.

While at it, remove possible duplicate metric names, which could occur when
multiple samples for new time series are ingested via concurrent requests.

Also sort the metric names before returning them to the client.
This simplifies debugging of the returned metric names across repeated requests to /api/v1/series
2022-06-28 18:16:32 +03:00
..
netstorage.go lib/storage: return marshaled metric names from SearchMetricNames 2022-06-28 18:16:32 +03:00
tmp_blocks_file_test.go all: add native format for data export and import 2020-09-27 17:36:38 +03:00
tmp_blocks_file.go all: add initial support for query tracing 2022-06-01 02:31:44 +03:00