VictoriaMetrics/app
Aliaksandr Valialkin 41a0fdaf39
app/vmselect/promql: optimize repeated SLI-like instant queries with lookbehind windows >= 1d
Repeated instant queries with long lookbehind windows, which contain one of the following rollup functions,
are optimized via partial result caching:

- sum_over_time()
- count_over_time()
- avg_over_time()
- increase()
- rate()

The basic idea of optimization is to calculate

  rf(m[d] @ t)

as

  rf(m[offset] @ t) + rf(m[d] @ (t-offset)) - rf(m[offset] @ (t-d))

where rf(m[d] @ (t-offset)) is cached query result, which was calculated previously

The offset may be in the range of up to 1 hour.
2023-10-31 19:25:23 +01:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-06-21 19:52:50 -07:00
victoria-metrics docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vlinsert all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
vlselect app/vmui: small UX enhancements 2023-10-12 19:54:19 +02:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 16:52:23 +02:00
vmagent lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmalert vmalert: fix alert firing state in replay mode (#5192) 2023-10-30 13:54:18 +01:00
vmalert-tool lib/promutils, app/vmalert-tool/unittest: move promutils.Duration.ParseTime() to app/vmalert-tool/unittest.durationToTime() 2023-10-16 14:19:31 +02:00
vmauth lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmbackup lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmbackupmanager lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmctl docs: use https://github.com/VictoriaMetrics/VictoriaMetrics/releases/latest instead of https://github.com/VictoriaMetrics/VictoriaMetrics/releases link where needed 2023-10-18 20:06:25 +02:00
vmgateway lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vminsert app/{vmagent,vminsert}: follow-up for NewRelic data ingestion protocol support 2023-10-16 00:25:25 +02:00
vmrestore lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmselect app/vmselect/promql: optimize repeated SLI-like instant queries with lookbehind windows >= 1d 2023-10-31 19:25:23 +01:00
vmstorage lib/storage: stop exposing vm_merge_need_free_disk_space metric 2023-09-25 16:52:39 +02:00
vmui app/vmui: change the order of tables at Top queries tab 2023-10-28 11:56:16 +02:00