VictoriaMetrics/app
Roman Khavronenko e1c3267e34
vmselect/promql: check for deadline in count_values fn (#3806)
* vmselect/promql: check for deadline in `count_values` fn

`count_values` could be very slow during the data processing.
Checking for deadline between iterations supposed to reduce
probability of exceeding `search.maxQueryDuration`.

The change also adds a new trace record, which captures the time
spent in aggregation function. Before that, the trace for aggr funcs
could be confusing since it doesn't account for all the places where
time was spent.

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

* wip

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-02-24 16:59:26 -08:00
..
victoria-metrics all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 18:58:46 -08:00
vmagent docs: update --help descriptions after recent changes 2023-02-23 19:02:27 -08:00
vmalert all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 18:58:46 -08:00
vmauth all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 18:58:46 -08:00
vmbackup all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:03:06 +01:00
vmctl all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 18:58:46 -08:00
vmgateway vmgateway: add support of JWKS endpoint usage for JWT keys verification (#521) 2023-02-20 19:22:55 -08:00
vminsert app/vmagent: automatically detect whether the remote storage supports VictoriaMetrics remote write protocol 2023-02-23 17:36:55 -08:00
vmrestore all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
vmselect vmselect/promql: check for deadline in count_values fn (#3806) 2023-02-24 16:59:26 -08:00
vmstorage tests: use DebugFlush instead of vmstorage stop. This simplifies the logic and allows to remove test-only methodds (#3694) 2023-01-23 14:45:59 +01:00
vmui vmui: improve mobile ui (#3848) 2023-02-23 19:18:49 -08:00