VictoriaMetrics/app
Roman Khavronenko 66d0b45651
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 17:10:38 -08:00
..
vmagent docs: update --help descriptions after recent changes 2023-02-23 19:02:32 -08:00
vmalert all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 19:01:09 -08:00
vmauth all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 19:01:09 -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:03:02 -08:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:49:59 -08:00
vmctl all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 19:01:09 -08:00
vmgateway vmgateway: add support of JWKS endpoint usage for JWT keys verification (#521) 2023-02-20 19:23:00 -08:00
vminsert app/vmagent: automatically detect whether the remote storage supports VictoriaMetrics remote write protocol 2023-02-23 17:38:47 -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:03:02 -08:00
vmselect vmselect/promql: check for deadline in count_values fn (#3806) 2023-02-24 17:10:38 -08:00
vmstorage all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 19:01:09 -08:00
vmui vmui: improve mobile ui (#3848) 2023-02-23 19:26:01 -08:00