VictoriaMetrics/app
Zhu Jiekun 8c50c38a80
vmstorage: auto calculate maxUniqueTimeseries based on resources (#6961)
### 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 85f60237e2)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-10-18 14:00:14 +02:00
..
victoria-logs app/vlstorage: add support for forced merge via /internal/force_merge HTTP endpoint 2024-10-13 22:20:31 +02:00
victoria-metrics app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vlinsert app/vlselect: do not show empty fields in query results 2024-10-14 23:43:58 +02:00
vlogscli app/vlogscli: add -accountID and -projectID command-line flags for querying the given tenants 2024-10-09 12:56:49 +02:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 13:52:13 +02:00
vlselect app/vlselect/vmui: run make vmui-logs-update after 423df09d7d 2024-10-18 02:33:41 +02:00
vlstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 13:47:48 +02:00
vmagent vmagent: fix type of command-line flag -streamAggr.dedupInterval (#7081) 2024-10-17 13:27:59 +02:00
vmalert vmalert: fix blocking hot-reload process if the old rule group hasn't started yet (#7258) 2024-10-18 11:18:24 +02:00
vmalert-tool vmalert-tool: add more syntax checks for input_series and exp_samples (#7263) 2024-10-17 11:00:34 +02:00
vmauth app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmbackupmanager all: replace old https://docs.victoriametrics.com/vmbackupmanager.html url with the new one - https://docs.victoriametrics.com/vmbackupmanager/ 2024-04-18 02:03:58 +02:00
vmctl app/vmctl: fixes opentsdb source metric tags 2024-10-16 10:35:17 +02:00
vmgateway all: replace old https://docs.victoriametrics.com/vmgateway.html url with the new one - https://docs.victoriametrics.com/vmgateway/ 2024-04-18 02:08:18 +02:00
vminsert lib/protoparser/influx: enable batch processing by default (#7165) 2024-10-15 11:48:40 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmselect vmstorage: auto calculate maxUniqueTimeseries based on resources (#6961) 2024-10-18 14:00:14 +02:00
vmstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 13:47:48 +02:00
vmui vmui/logs: add ability to hide hits chart (#7206) 2024-10-18 02:30:56 +02:00