35 Commits (a42e8473ae2cc70b75f51fc231289fe2736884b0)

Author SHA1 Message Date
Arve Knudsen fbc9eddfaf Refactor engine creation in tests 4 months ago
Arve Knudsen 0cc99e677a promql.Engine: Add Close method 6 months ago
Bryan Boreham 0dbfd20b69 test: move most PromQL tests into separate test package 7 months ago
Bryan Boreham 2b0c87b1b6 test: turn TestKahanSum into scripted test 7 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 12 months ago
Jeanette Tan 2910b48180 Make mad_over_time experimental and move tests 12 months ago
Jeanette Tan 9bf4cc993e Add mad_over_time function 12 months ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint` 2 years ago
Martina Ferrari 3e4bd4d913 Avoid literal integer overflows in 32 bit arches. 3 years ago
Alan Protasio 606ef33d91 Track and report Samples Queried per query 3 years ago
Matthew 7ee52bfb86
feat: linreg => slope 0 for const values (#9728) 3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 3 years ago
darshanime 42d786f1ac use kahan summation for aggregation functions 3 years ago
darshanime 0a9deb9597 use kahan summation for numerical stability 3 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Annanay 7f98a744e5 Add context to Appender interface 4 years ago
Tobias Guggenmos 3d74fcfa6a Bartek's suggestions 5 years ago
Tobias Guggenmos 9ebf6bd1e6 Remove superfluous blank lines 5 years ago
Tobias Guggenmos 7143d64fc1
Julien's suggestion 5 years ago
Tobias Guggenmos 4124828c00 Add test to check that promql.FunctionCalls and parser.Functions contain the same functions 5 years ago
Bartlomiej Plotka 2cf637fbf5 Addressed comments. 5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712) 5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package 5 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513) 6 years ago
Brian Brazil dd6781add2 Optimise PromQL (#3966) 7 years ago
Elif T. Kuş 57dcdfb15f Rewrote tests with testutil for several test files (#4086) 7 years ago
Fabian Reinartz 7ccd4b39b8 *: implement query params 7 years ago
Brian Brazil 4c8173acac Use timestamp of a sample in deriv() to avoid FP issues (#2958) 7 years ago
beorn7 71571a8ec4 promql: Fix (and simplify) populating iterators 8 years ago
eliothedeman 1543ef92b2 Adds holt-winters query function 9 years ago