Commit Graph

249 Commits (2673f94eb1e2435f904ede57b2796fb9cb209766)

Author SHA1 Message Date
Giedrius Statkevičius a1d6ba59ac
promql: pass down subquery interval (#11163)
2 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
Vilius Pranckaitis 4660656312
Allow setting custom lookback delta for instant queries (#9946)
2 years ago
Łukasz Mierzwa 54a3c3ba3f
Print query that caused a panic (#10995)
2 years ago
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817)
3 years ago
Bryan Boreham 2e2c014d52
Labels: optimise creation of signature with/without labels (#10667)
3 years ago
Alan Protasio ce6a643ee8
Changing TotalQueryableSamples from int to int64 (#10549)
3 years ago
Andrew Bloomgarden a64b9fe323 Report PeakSamples in query statistics
3 years ago
Alan Protasio 606ef33d91 Track and report Samples Queried per query
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Peter Štibraný 6d76f09c58
Extract interface from ActivityQueryTracker and allows passing custom implementation (#10071)
3 years ago
Matej Gera 2c61d29b2a
Tracing: Migrate to OpenTelemetry library (#9724)
3 years ago
beorn7 b39f2739e5 PromQL: Always enable negative offset and @ modifier
3 years ago
Björn Rabenstein d677aa4b29
storage: Consolidate iterator method names (Values -> At) (#9888)
3 years ago
Thomas Jackson f0003bc0ba
Don't drop ParenExpr when creating StepInvariantExpr (#9591)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Bryan Boreham a278ea4b58
promql: copy data when short-circuiting (#9552)
3 years ago
Julien Pivotto a18224d02d
make aggregations deterministic (#9459)
3 years ago
ziollek 55f9147b44
Add atan2 to scalar operators - issue #9485 (#9515)
3 years ago
Levi Harrison 8547a2bd86 Add `atan2` binary operator
3 years ago
Bryan Boreham 5a754bc043
Short-circuit vector binary ops (#9362)
3 years ago
Bryan Boreham c4942ef3b7
Optimise query_range by computing join signatures just once (#9360)
3 years ago
Bryan Boreham 7d105277fe
Optimise topk where k==1 (#9365)
3 years ago
Darshan Chaudhary c4f2e9eec5
Add present_over_time (#9097)
3 years ago
darshanime 364c40be57 Add Stringer to Query interface
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
yeya24 d698e062dc improve grouping label match logic
4 years ago
Marco Pracucci 6719071a0f
Optimize aggregations in PromQL engine (#8594)
4 years ago
Marco Pracucci 7bbab380b6
Added tracing span to evaluator.eval()
4 years ago
Marco Pracucci b92c03023d
Optimized vector selector
4 years ago
pschou f80b52be69
Merge branch 'main' into dev_neg_offset
4 years ago
schou 75d932a172 var init for bool
4 years ago
schou 22bfc11738 aggregate booleans for ease of reading
4 years ago
schou 22cd48868a adding feature flag, promql-negative-offset
4 years ago
pschou aff3c702ab
promql: Add sgn, clamp and last_over_time functions (#8457)
4 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425)
4 years ago
Marcelo E. Magallon 75d86c6747 Update golangci-lint to 1.36.0
4 years ago
Ganesh Vernekar b18fde996e
Fix timestamp() function for @ modifier
4 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121)
4 years ago
Ganesh Vernekar d30da66d77
Fix timestamp() method for vector selector inside paren (#8164)
4 years ago
Harkishen Singh fc8e769d71
Use ASSIGN when using = inside braces (#7911)
4 years ago
Vijay Samuel 00ee73ef91
Export members of EvalNodeHelper to facilitate usage in external functions (#7860)
4 years ago
Julien Pivotto 6f9e7ff750
Drop metric name in bool comparison between two instant vectors (#7819)
4 years ago
Julien Pivotto 20ab94fedf
Hints: Separating out the range and offsets of PromQL subqueries (#7667)
4 years ago
Annanay Agarwal 118aeab02c
Make context key type public (#7748)
4 years ago
Julien Pivotto 22acb87e09
refactoring: make sure that query_duration_seconds metrics are the same (#7668)
4 years ago
Bartlomiej Plotka 841b13641c
promql: Refactored subquery hint tests and added todos. (#7636)
4 years ago
Bartlomiej Plotka a0df8a383a
promql: Removed global and add ability to have better interval for subqueries if not specified (#7628)
4 years ago