VictoriaMetrics/app
Aliaksandr Valialkin 5e4dfe50c6
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:23:47 +03:00
..
victoria-metrics Makefile: run errcheck for all the app/... subdirs 2022-09-30 18:35:53 +03:00
vmagent app/vmagent/remotewrite: typo fix after c914e4dace 2022-10-13 12:04:10 +03:00
vmalert vmalert: lower severity level for RW retries (#3237) 2022-10-18 14:27:20 +02:00
vmauth all: log error when environment variables referred from -promscrape.config are missing 2022-10-18 10:47:16 +03:00
vmbackup doc: describe usage of env variables for obtaining credentials (#3219) 2022-10-10 21:56:46 +03:00
vmbackupmanager docs/vmbackupmanager.md: update docs after adding the support to make backups to Azure blob storage 2022-10-08 10:30:39 +03:00
vmctl all: update the minimum required Go verson from 1.19.1 to 1.19.2 2022-10-07 22:43:37 +03:00
vmgateway docs, app/vmgateway: add description about new auth.httpHeader flag (#3134) 2022-09-30 08:55:12 +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:51:16 +03:00
vmrestore docs/vmbackupmanager.md: update docs after adding the support to make backups to Azure blob storage 2022-10-08 10:30:39 +03:00
vmselect app/vmselect/promql: expose missing metric vm_cache_size_max_bytes{type="promql/rollupResult"} 2022-10-23 12:13:47 +03:00
vmstorage lib/storage: subsitute searchTSIDs functions with more lightweight searchMetricIDs function 2022-10-23 12:23:47 +03:00
vmui fix: remove rounding of axis limits (#3238) 2022-10-18 10:47:58 +03:00