Commit Graph

171 Commits (1838d56aeed359a874ee33b52b41d713426de37d)

Author SHA1 Message Date
beorn7 1838d56aee PromQL: Make lookback delta exclusive 2 years ago
Zhang Zhanpeng 381f8d52e0 matrixIterSlice shall drop float and histogram at left bound 2 years ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code 2 years ago
Neeraj Gartia 661856cb65 removes the added tests from engine_test.go 2 years ago
Bryan Boreham 786e0e706c test: PromQL: stop using internal fields of engine 2 years ago
Bryan Boreham 0dbfd20b69 test: move most PromQL tests into separate test package 2 years ago
Bryan Boreham 4a72607c4a refactor: extract some PromQL Engine tests which use unexported structs 2 years ago
Bryan Boreham babfcfdd91 refactor: Move NewTestEngine into promqltest 2 years ago
Bryan Boreham a1af3c27d4 refactor: extract almost.Equal() to new package 2 years ago
Arve Knudsen a25160e6a4
[REFACTOR] PromQL: simplify rangeEvalTimestampFunctionOverVectorSelector (#14021) 2 years ago
Bryan Boreham 3851b74db1 promql: aggregations: skip result vector in range queries 2 years ago
Jeanette Tan 22d0f4f114 improve handling of negative bounds in histogram std dev/var 2 years ago
Domantas 3929d6500a [BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 2 years ago
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 2 years ago
Jeanette Tan 9d32754bc0 add unit tests with all negative values for histogram_stddev and var 2 years ago
beorn7 f48c7a5503 promql: Add histograms to TestQueryStatistics 2 years ago
beorn7 f46dd34982 promql: Add code comment 2 years ago
Bryan Boreham 22890b1eb3 PromQL: improve warning for mixed values in aggregations 2 years ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp 2 years ago
Bryan Boreham 252031c86f Revert "Adding small test update for temp dir using t.TempDir (#13293)" 2 years ago
Mile Druzijanic 2ddb3596ef
Adding small test update for temp dir using t.TempDir (#13293) 2 years ago
Filip Petkovski 1f69dcfa6b
Fix reusing float histograms 2 years ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
zenador ccfe14d7e7
PromQL: ignore small errors for bucketQuantile (#13153) 2 years ago
Linas Medziunas 1cd6c1cde5 ValidateHistogram: strict Count check in absence of NaNs 2 years ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152) 2 years ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665) 2 years ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666) 2 years ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660) 2 years ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668) 2 years ago
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614) 2 years ago
beorn7 aa82fe198f tsdb: Fix histogram validation 2 years ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050) 2 years ago
Charles Korn 145d7457fe
Address PR feedback: use loop to create expected test result 2 years ago
Charles Korn 6903d6edd8
Add test to confirm `timestamp()` behaves correctly when evaluating a range query. 2 years ago
Ziqi Zhao 42d9169ba1 enhance histogram_quantile to get min/max value 2 years ago
Carrie Edwards 2f9bc98b8a Add tests for min and max functions 2 years ago
Giedrius Statkevičius 3f230fc9f8 promql: convert QueryOpts to interface 2 years ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262) 3 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface 3 years ago
ianwoolf 79e4bdee8e add Close for ActiveQueryTracker to close the file. 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint` 3 years ago
Trevor Whitney dd94ebb87b
promql: set CounterResetHint after rate and sum 3 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948) 3 years ago
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints 3 years ago
Ganesh Vernekar 3c2ea91a83
tsdb: Test gauge float histograms 3 years ago
Marc Tudurí 49f775d8a0
histograms: Add missing float histograms tests for PromQL (#11780) 3 years ago