VictoriaMetrics/app/vmselect/graphite
Aliaksandr Valialkin a350d1e81c
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:17:15 +03:00
..
metrics_api_test.go app/vmselect,lib/storage: properly parse Graphite selectors with inner wildcards 2021-02-03 20:14:22 +02:00
metrics_api.go app/vmselect/netstorage: remove Get prefix from netstorage functions 2022-06-27 00:45:05 +03:00
metrics_expand_response.qtpl app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:01 +03:00
metrics_expand_response.qtpl.go app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:01 +03:00
metrics_find_response.qtpl app/vmselect/graphite: do not substitute path and path. with path.. in /metrics/find/?format=completer output 2020-09-29 18:03:26 +03:00
metrics_find_response.qtpl.go app/vmselect/graphite: do not substitute path and path. with path.. in /metrics/find/?format=completer output 2020-09-29 18:03:26 +03:00
metrics_index_response.qtpl app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:01 +03:00
metrics_index_response.qtpl.go app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:01 +03:00
tag_values_response.qtpl app/vmselect/graphite: add /tags/<tag_name> handler for Graphite Tags API 2020-11-16 03:42:25 +02:00
tag_values_response.qtpl.go app/vmselect/graphite: add /tags/<tag_name> handler for Graphite Tags API 2020-11-16 03:42:25 +02:00
tags_api.go lib/storage: return marshaled metric names from SearchMetricNames 2022-06-28 18:17:15 +03:00
tags_autocomplete_response.qtpl app/vmselect/graphite: add /tags/autoComplete/values handler from Graphite Tags API 2020-11-16 15:29:35 +02:00
tags_autocomplete_response.qtpl.go app/vmselect/graphite: add /tags/autoComplete/values handler from Graphite Tags API 2020-11-16 15:29:35 +02:00
tags_find_series_response.qtpl app/vmselect/graphite: add /tags/findSeries handler from Graphite Tags API 2020-11-16 12:53:13 +02:00
tags_find_series_response.qtpl.go app/vmselect/graphite: add /tags/findSeries handler from Graphite Tags API 2020-11-16 12:53:13 +02:00
tags_response.qtpl app/vmselect/graphite: add /tags handler from Graphite Tags API 2020-11-16 03:00:01 +02:00
tags_response.qtpl.go app/vmselect/graphite: add /tags handler from Graphite Tags API 2020-11-16 03:00:01 +02:00
tags_tag_multi_series_response.qtpl app/{vminsert,vmselect}: move /tags/tagSeries and /tags/tagMultiSeries api from vminsert to vmselect 2020-11-23 12:33:19 +02:00
tags_tag_multi_series_response.qtpl.go app/{vminsert,vmselect}: move /tags/tagSeries and /tags/tagMultiSeries api from vminsert to vmselect 2020-11-23 12:33:19 +02:00