VictoriaMetrics/app
Aliaksandr Valialkin 5d66ee88bd
lib/storage: do not check the limit for -search.maxUniqueTimeseries when performing /api/v1/labels and /api/v1/label/.../values requests
This limit has little sense for these APIs, since:

- Thses APIs frequently result in scanning of all the time series on the given time range.
  For example, if extra_filters={datacenter="some_dc"} .

- Users expect these APIs shouldn't hit the -search.maxUniqueTimeseries limit,
  which is intended for limiting resource usage at /api/v1/query and /api/v1/query_range requests.

Also limit the concurrency for /api/v1/labels, /api/v1/label/.../values
and /api/v1/series requests in order to limit the maximum memory usage and CPU usage for these API.
This limit shouldn't affect typical use cases for these APIs:

- Grafana dashboard load when dashboard labels should be loaded
- Auto-suggestion list load when editing the query in Grafana or vmui

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5055
2024-01-29 16:45:12 +01:00
..
victoria-logs lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
victoria-metrics app/vmselect: properly calculate start param for queries with too big look-behind window (#5630) 2024-01-17 13:48:06 +01:00
vlinsert Add _stream fields log (#5068) 2023-11-17 15:58:52 +01:00
vlselect vmui: reduced the number of server requests (#5253) 2023-11-14 01:50:00 +01:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 16:52:23 +02:00
vmagent all: add up to 10% random jitter to the interval between periodic tasks performed by various components 2024-01-22 18:40:32 +02:00
vmalert vmalert: set ActiveAt to evaluation timestamp in newAlert fn (#5657) 2024-01-29 12:02:02 +01:00
vmalert-tool vmalert-tool: fix alert_rule_test case when eval_time is not multiple of evaluation_interval (#5387) 2023-12-01 12:17:24 +01:00
vmauth app/vmauth: return 503 service unavailable status code when the backend returns response with unsupported status code, but the request cannot be re-tried. 2024-01-26 20:43:11 +01:00
vmbackup lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vmctl app/vmctl/backoff: fix flaky test 2024-01-22 12:21:14 +01:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vminsert all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-21 22:03:38 +02:00
vmrestore lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
vmselect lib/storage: do not check the limit for -search.maxUniqueTimeseries when performing /api/v1/labels and /api/v1/label/.../values requests 2024-01-29 16:45:12 +01:00
vmstorage lib/{mergeset,storage}: make background merge more responsive and scalable 2024-01-26 22:27:47 +01:00
vmui vmui: fix Enter key in query field (#5667) (#5681) 2024-01-26 22:38:32 +01:00