VictoriaMetrics/app/vmselect/graphite
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
..
metrics_api.go app/vmselect/netstorage: remove Get prefix from netstorage functions 2022-06-27 00:37:49 +03:00
metrics_api_test.go app/vmselect,lib/storage: properly parse Graphite selectors with inner wildcards 2021-02-03 20:16:28 +02:00
metrics_expand_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
metrics_expand_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
metrics_find_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
metrics_find_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
metrics_index_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
metrics_index_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
tag_values_response.qtpl app/vmselect/graphite: add /tags/<tag_name> handler for Graphite Tags API 2020-11-16 03:41:41 +02:00
tag_values_response.qtpl.go app/vmselect/graphite: add /tags/<tag_name> handler for Graphite Tags API 2020-11-16 03:41:41 +02:00
tags_api.go lib/storage: return marshaled metric names from SearchMetricNames 2022-06-28 18:16:32 +03:00
tags_autocomplete_response.qtpl app/vmselect/graphite: add /tags/autoComplete/values handler from Graphite Tags API 2020-11-16 15:29:29 +02:00
tags_autocomplete_response.qtpl.go app/vmselect/graphite: add /tags/autoComplete/values handler from Graphite Tags API 2020-11-16 15:29:29 +02:00
tags_find_series_response.qtpl app/vmselect/graphite: add /tags/findSeries handler from Graphite Tags API 2020-11-16 12:52:23 +02:00
tags_find_series_response.qtpl.go app/vmselect/graphite: add /tags/findSeries handler from Graphite Tags API 2020-11-16 12:52:23 +02:00
tags_response.qtpl app/vmselect/graphite: add /tags handler from Graphite Tags API 2020-11-16 02:57:20 +02:00
tags_response.qtpl.go app/vmselect/graphite: add /tags handler from Graphite Tags API 2020-11-16 02:57:20 +02:00
tags_tag_multi_series_response.qtpl app/vmselect: implement /tags/tagSeries and /tags/tagMultiSeries` in order to be consistent with single-node VictoriaMetrics 2020-11-23 14:57:08 +02:00
tags_tag_multi_series_response.qtpl.go app/vmselect: implement /tags/tagSeries and /tags/tagMultiSeries` in order to be consistent with single-node VictoriaMetrics 2020-11-23 14:57:08 +02:00