VictoriaMetrics/app/vmselect/promql
Aliaksandr Valialkin a6eacfdb11
app/vmselect/promql: move needSilenceIntervalForRollupFunc from eval.go to rollup.go
This should improve maintainability of the code related to rollup functions,
since it is located in rollup.go

While at it, properly return empty results from holt_winters(), rate_over_sum(),
sum2_over_time(), geomean_over_time() and distinct_over_time() when there are no real samples
on the selected lookbehind window. Previously the previous sample value was mistakenly
returned from these functions.
2024-02-22 13:39:28 +02:00
..
active_queries.go Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:16:42 +02:00
aggr.go app/vmselect/promql: remove superflouos memory allocations at aggrPrepareSeries() 2024-01-23 02:28:31 +02:00
aggr_incremental.go app/vmselect/promql/aggr_incremental.go: eliminate unnecessary memory allocation in incrementalAggrFuncContext.updateTimeseries 2024-01-23 02:28:30 +02:00
aggr_incremental_test.go app/vmselect/promql: fix TestIncrementalAggr test on systems less than 3 CPU cores 2023-03-20 20:37:18 -07:00
aggr_test.go app/vmselect/promql: simplify the code after 388d020b7c 2024-01-16 15:06:33 +02:00
binary_op.go app/vmselect/promql: really keep metric names when keep_metric_names modifier is applied to binary operator 2024-01-31 02:32:55 +02:00
eval.go app/vmselect/promql: move needSilenceIntervalForRollupFunc from eval.go to rollup.go 2024-02-22 13:39:28 +02:00
eval_test.go app/vmselect: set proper timestamp for cached instant responses (#5723) 2024-01-30 20:03:34 +00:00
exec.go app/vmselect/promql: consistently sort results of a or b query 2024-01-16 01:30:10 +02:00
exec_test.go app/vmselect: add sum_eq_over_time, sum_gt_over_time and sum_le_over_time functions to MetricsQL 2024-02-13 23:40:07 +02:00
memory_limiter.go app/vmselect: return back the logic for limits the amounts of memory occupied by concurrently executed queries if -search.maxMemoryPerQuery isn't set 2022-10-10 21:45:13 +03:00
memory_limiter_test.go app/vmselect: return back the logic for limits the amounts of memory occupied by concurrently executed queries if -search.maxMemoryPerQuery isn't set 2022-10-10 21:45:13 +03:00
parser.go all: add support for or filters in series selectors 2023-07-16 00:06:33 -07:00
rollup.go app/vmselect/promql: move needSilenceIntervalForRollupFunc from eval.go to rollup.go 2024-02-22 13:39:28 +02:00
rollup_result_cache.go docs: update -help output after 61d9df4c36 2024-02-08 14:50:49 +02:00
rollup_result_cache_test.go app/vmselect/promql: properly handle duplicate series when merging cached results with the results obtained from the database 2023-11-16 16:01:40 +01:00
rollup_test.go app/vmselect: add sum_eq_over_time, sum_gt_over_time and sum_le_over_time functions to MetricsQL 2024-02-13 23:40:07 +02:00
rollup_timing_test.go app/vmselect: use consistent randomizer in tests 2023-01-23 19:27:25 -08:00
timeseries.go app/vmselect/promql: optimize repeated SLI-like instant queries with lookbehind windows >= 1d 2023-10-31 19:25:23 +01:00
timeseries_test.go app/vmselect/promql: add test to ensure 8-byte alignment (#3948) 2023-03-16 09:01:42 -07:00
transform.go app/vmselect/promql: add day_of_year() function (#5368) 2023-11-28 11:54:00 +01:00
transform_test.go app/vmselect/promql: follow-up for 79e1c6a6fc 2023-03-27 18:03:36 -07:00
tzdata.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00