mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-26 20:30:10 +01:00
a350d1e81c
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 |
||
---|---|---|
.. | ||
metrics_api_test.go | ||
metrics_api.go | ||
metrics_expand_response.qtpl | ||
metrics_expand_response.qtpl.go | ||
metrics_find_response.qtpl | ||
metrics_find_response.qtpl.go | ||
metrics_index_response.qtpl | ||
metrics_index_response.qtpl.go | ||
tag_values_response.qtpl | ||
tag_values_response.qtpl.go | ||
tags_api.go | ||
tags_autocomplete_response.qtpl | ||
tags_autocomplete_response.qtpl.go | ||
tags_find_series_response.qtpl | ||
tags_find_series_response.qtpl.go | ||
tags_response.qtpl | ||
tags_response.qtpl.go | ||
tags_tag_multi_series_response.qtpl | ||
tags_tag_multi_series_response.qtpl.go |