VictoriaMetrics/app
Zhu Jiekun 85f60237e2
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>
2024-10-18 13:41:43 +02:00
..
victoria-logs app/vlstorage: add support for forced merge via /internal/force_merge HTTP endpoint 2024-10-15 11:49:31 +02:00
vlinsert app/vlselect: do not show empty fields in query results 2024-10-15 11:49:32 +02:00
vlogscli app/vlogscli: add -accountID and -projectID command-line flags for querying the given tenants 2024-10-11 14:27:45 +02:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 14:01:37 +02:00
vlselect app/vlselect/vmui: run make vmui-logs-update after 423df09d7d 2024-10-18 11:42:18 +02:00
vlstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 11:18:45 -03:00
vmagent vmagent: fix type of command-line flag -streamAggr.dedupInterval (#7081) 2024-10-17 11:11:46 -03:00
vmalert vmalert: fix blocking hot-reload process if the old rule group hasn't started yet (#7258) 2024-10-18 11:42:47 +02:00
vmalert-tool app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmauth app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +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:04:39 +02:00
vmctl app/vmctl: fixes opentsdb source metric tags 2024-10-17 11:09:01 -03: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:53 +02:00
vminsert lib/protoparser/influx: enable batch processing by default (#7165) 2024-10-15 11:51:48 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmselect vmstorage: auto calculate maxUniqueTimeseries based on resources (#6961) 2024-10-18 13:41:43 +02:00
vmstorage vmstorage: auto calculate maxUniqueTimeseries based on resources (#6961) 2024-10-18 13:41:43 +02:00
vmui vmui/logs: add ability to hide hits chart (#7206) 2024-10-18 11:42:17 +02:00