Commit Graph

320 Commits (3ccaaa40ba088b74e69a471e95fce9958bd291a5)

Author SHA1 Message Date
zenador 80e977aae6
Remove `NewPossibleNonCounterInfo` and minimise creating empty annotations (#13012) 2 years ago
Alan Protasio a15e884e7a
Prevent Prometheus from overallocating memory on subquery with large amount of steps. (#12734) 2 years ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152) 2 years ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660) 2 years ago
Bryan Boreham e4dd3469ac lint 2 years ago
Bryan Boreham 5ce990cabc promql: simplify rangeEval a bit more 2 years ago
Bryan Boreham 3879488476 promql: simplify inner loop of rangeEval 2 years ago
Bryan Boreham 0670e4771a promql engine: check unique labels using existing map 2 years ago
Charles Korn 6087c555ed
Address PR feedback: clarify comment 2 years ago
Charles Korn fb3935e8f9
Address PR feedback: rename method 2 years ago
Julius Volz 531567d46e Drop metric name for "atan2" binary operator 2 years ago
Charles Korn fde6ebb17d
Create per-series iterators only once per selector, rather than recreating it for each time step. 2 years ago
Charles Korn 993618adea
Don't create a new iterator for every time step. 2 years ago
Charles Korn b114c0888d
Simplify loop 2 years ago
Charles Korn a142998052
Expand series set just once 2 years ago
Charles Korn eeface2e17
Inline method 2 years ago
Charles Korn a2a2cc757e
Extract timestamp special case to its own method. 2 years ago
Giedrius Statkevičius 3f230fc9f8 promql: convert QueryOpts to interface 2 years ago
Bryan Boreham 67d2ef004d Placate lint 3 years ago
Bryan Boreham bb0d8320dd promql: include parsing in active-query tracking 3 years ago
Bryan Boreham 71fc4f1516 promql: refactor: create query object before parsing 3 years ago
Bryan Boreham 1f3821379c promql: refactor: extract fn to wait on concurrency limit 3 years ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262) 3 years ago
Justin Lei 7bbf24b707 Make MemoizedSeriesIterator not implement chunkenc.Iterator 3 years ago
Justin Lei 6985dcbe73 Optimize and test MemoizedSeriesIterator 3 years ago
Matthieu MOREL 7e9acc2e46
golangci-lint: remove skip-cache and restore singleCaseSwitch rule 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
beorn7 551de0346f promql: Do not return nil slices to the pool 3 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint` 3 years ago
Łukasz Mierzwa b6573353c1 Add query_samples_total metric 3 years ago
Oleg Zaytsev 6e2905a4d4
Use zeropool.Pool to workaround SA6002 (#12189) 3 years ago
Bryan Boreham f2fd85df82 promql: use faster heap method for topk/bottomk 3 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder 3 years ago
Bryan Boreham 1b0a29701b promql: optimise aggregation with no labels 3 years ago
Bryan Boreham aafef011b7 Promql: reuse LabelBuilder in aggregations 3 years ago
Bryan Boreham 2c382f5e24 promql: extract function to initialize LabelBuilder 3 years ago
Bryan Boreham 56fefcd812 Update package promql for new labels.Labels type 3 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators 3 years ago
Alan Protasio 8460807475 fix blank lines 3 years ago
Alan Protasio f8f4ac14a8 Finishing evalSpanTimer always before return 3 years ago
Giedrius Statkevičius a1d6ba59ac
promql: pass down subquery interval (#11163) 3 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318) 3 years ago
Ganesh Vernekar 71489d0e3d
Fix count() for histograms and add test case 3 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147) 3 years ago
Vilius Pranckaitis 4660656312
Allow setting custom lookback delta for instant queries (#9946) 3 years ago
Łukasz Mierzwa 54a3c3ba3f
Print query that caused a panic (#10995) 3 years ago
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817) 4 years ago