VictoriaMetrics/app
Roman Khavronenko cbe39bbb8d
vmselect: limit end param max value by 2d in future (#2729)
* vmselect: limit `end` param max value by 2d in future

The change is applied only to service handlers like `/labels` or `/series`
and limits the `end` param by max value <= now() + 2 days. The same limit
is applied for the ingested data, so no reason to allow to request data
in future far than that.

The change is also needed for corner cases like https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2669
where too high `end` value triggers inefficient global index search.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* docs/CHANGELOG.md: document the bugfix

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-06-16 20:51:40 +03:00
..
vmagent docs/vmagent.md: typo fix: configued -> configured 2022-06-16 20:51:40 +03:00
vmalert docs: add multiple-remote-writes topology to vmalert (#2738) 2022-06-16 20:21:12 +03:00
vmauth lib/httpserver: clarify that -tls flag enables TLS for http requests to -httpListenAddr 2022-04-16 16:59:41 +03:00
vmbackup vmbackup: Prevent save backups to the same folder where TSDB data is (#2547) 2022-05-06 18:04:58 +03:00
vmbackupmanager docs: add flags list to vmbackupmanager (#2554) 2022-05-09 15:26:24 +03:00
vmctl docs: mention guide for migrating from inlfux in vmctl readme (#2640) 2022-05-25 15:05:12 +03:00
vmgateway app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vminsert Added a stub for datadog endpoint (#2710) 2022-06-13 09:56:26 +03:00
vmrestore app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmselect vmselect: limit end param max value by 2d in future (#2729) 2022-06-16 20:51:40 +03:00
vmstorage app/{vmselect,vmstorage}: properly pass seriesCountByLabelName and seriesCountByFocusLabelValue entries from vmstorage to vmselect 2022-06-16 10:44:29 +03:00
vmui lib/storage: show top labels with the highest number of series in cardinality explorer 2022-06-14 16:34:13 +03:00