mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-25 06:17:36 +01:00
8c50c38a80
### Describe Your Changes
Add support for
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6930
Calculate `-search.maxUniqueTimeseries` by
`-search.maxConcurrentRequests` and remaining memory if it's **not set**
or **less equal than 0**.
The remaining memory is affected by `-memory.allowedPercent`,
`-memory.allowedBytes` and cgroup memory limit.
### Checklist
The following checks are **mandatory**:
- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
expand-with-exprs.qtpl | ||
expand-with-exprs.qtpl.go | ||
export.qtpl | ||
export.qtpl.go | ||
federate_test.go | ||
federate_timing_test.go | ||
federate.qtpl | ||
federate.qtpl.go | ||
label_values_response.qtpl | ||
label_values_response.qtpl.go | ||
labels_response.qtpl | ||
labels_response.qtpl.go | ||
prometheus_test.go | ||
prometheus.go | ||
query_range_response.qtpl | ||
query_range_response.qtpl.go | ||
query_response.qtpl | ||
query_response.qtpl.go | ||
series_count_response.qtpl | ||
series_count_response.qtpl.go | ||
series_response.qtpl | ||
series_response.qtpl.go | ||
tsdb_status_response.qtpl | ||
tsdb_status_response.qtpl.go | ||
util.qtpl | ||
util.qtpl.go |