VictoriaMetrics/app
Aliaksandr Valialkin 2dd93449d8
lib/storage: subsitute searchTSIDs functions with more lightweight searchMetricIDs function
The searchTSIDs function was searching for metricIDs matching the the given tag filters
and then was locating the corresponding TSID entries for the found metricIDs.

The TSID entries aren't needed when searching for time series names (aka MetricName),
so this commit removes the uneeded TSID search from the implementation of /api/v1/series API.
This improves perfromance of /api/v1/series calls.

This commit also improves performance a bit for /api/v1/query and /api/v1/query_range calls,
since now these calls cache small metricIDs instead of big TSID entries
in the indexdb/tagFilters cache (now this cache is named indexdb/tagFiltersToMetricIDs)
without the need to compress the saved entries in order to save cache space.

This commit also removes concurrency limiter during searching for matching time series,
which was introduced in 8f16388428, since the concurrency
for all the read queries is already limited with -search.maxConcurrentRequests command-line flag.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/648
2022-10-23 12:43:44 +03:00
..
vmagent app/vmagent/remotewrite: typo fix after c914e4dace 2022-10-13 12:06:24 +03:00
vmalert vmalert: lower severity level for RW retries (#3237) 2022-10-18 20:40:37 +03:00
vmauth all: log error when environment variables referred from -promscrape.config are missing 2022-10-18 10:29:59 +03:00
vmbackup doc: describe usage of env variables for obtaining credentials (#3219) 2022-10-12 09:33:16 +03:00
vmbackupmanager docs/vmbackupmanager.md: update docs after adding the support to make backups to Azure blob storage 2022-10-08 10:30:58 +03:00
vmctl all: update the minimum required Go verson from 1.19.1 to 1.19.2 2022-10-07 22:46:44 +03:00
vmgateway docs, app/vmgateway: add description about new auth.httpHeader flag (#3134) 2022-09-30 08:56:43 +03:00
vminsert lib/promrelabel: remove unconditional sorting of the labels in ParsedConfigs.Apply(), since the sorting isnt needed in many places 2022-10-09 14:53:35 +03:00
vmrestore docs/vmbackupmanager.md: update docs after adding the support to make backups to Azure blob storage 2022-10-08 10:30:58 +03:00
vmselect app/vmselect/promql: expose missing metric vm_cache_size_max_bytes{type="promql/rollupResult"} 2022-10-23 12:14:07 +03:00
vmstorage lib/storage: subsitute searchTSIDs functions with more lightweight searchMetricIDs function 2022-10-23 12:43:44 +03:00
vmui fix: remove rounding of axis limits (#3238) 2022-10-18 10:51:03 +03:00