Commit Graph

188 Commits (2880ee8e46e2c49e5155523b30b7878d7cc65ae8)

Author SHA1 Message Date
beorn7 e4e24453fa Merge branch 'main' into beorn7/merge2
3 years ago
Shihao Xia 0e82a96e2f
fix potential deadlock in test (#9010)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 9de3ab60df promql: improve histogram support in engine.go
3 years ago
beorn7 73858d7f82 storage: histogram support in memoized_iterator
3 years ago
beorn7 9b30ca2598 promql: Support histogram in value string representation
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
beorn7 f1065e44a4 model: String method for histogram.Histogram
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
Ganesh Vernekar c8b267efd6
Get histograms from TSDB to the rate() function implementation
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
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Fiona Liao 9b83d8330a
Fix memSafeIterator.Seek() (#8748)
4 years ago
schou 22cd48868a adding feature flag, promql-negative-offset
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425)
4 years ago
Ganesh Vernekar ed8d31b059
Remove empty test
4 years ago
Ganesh Vernekar b18fde996e
Fix timestamp() function for @ modifier
4 years ago
Ganesh Vernekar b5dfa2414b
Fix flaky TestAtModifier (#8401)
4 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121)
4 years ago
Ganesh Vernekar 063154eab7
Automate part of TestMaxQuerySamples (#8314)
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
Julien Pivotto 20ab94fedf
Hints: Separating out the range and offsets of PromQL subqueries (#7667)
4 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069)
4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652)
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
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Julien Pivotto 4284dd1f1b
promql: cleanup: use errors.As (#7351)
5 years ago
Brian Brazil 3932a7149f
Correctly track points no longer used by matrixIterSlice's slice. (#7307)
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Tobias Guggenmos 273ea9093a Fix promql tests
5 years ago
Tobias Guggenmos 2f1113479f Fix usages of ValueType
5 years ago
Zhou Hao e628fd7735
fix comments spelling (#6829)
5 years ago
Julien Pivotto ff0003e072
Make lookbackDelta a option of QueryEngine (#6746)
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Brian Brazil 61262159c4 Simplify benchmark given the new API
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Julien Pivotto d992c36b3a promql: make active query tracker context-aware (#6701)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694)
5 years ago
Julien Pivotto 3fbeee07fa Fix flaky windows test (#6677)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Garrett 5a9c4acfbf Pushdown aggregator group by through read hint (#6401)
5 years ago
Alex Dzyoba e3882629ba promql: Move tests to testutil (#6103)
5 years ago
Thomas Jackson 91d7175eaa Add storage.Warnings to LabelValues and LabelNames (#5673)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Goutham Veeramachaneni 3cc5f9d880 Make sure subquery range is taken into account for selection (#5467)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Tom Wilkie 6e08029b56
Move err to be the last return value from storage.Select. (#5054)
6 years ago
Ganesh Vernekar dbe55c1352 Subquery (#4831)
6 years ago
mknapphrt f0e9196dca Return warnings on a remote read fail (#4832)
6 years ago
Ganesh Vernekar ca93fd544b /api/v1/labels endpoint for getting all label names (#4835)
6 years ago
Bryan Boreham 9a956872a3 Make ErrorStorage a concrete type not an interface
6 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513)
6 years ago
Ganesh Vernekar 576ee4d309 Label name check for 'count_values' (#4585)
6 years ago
Anton Tereshchenkov 18bbec050c promql: propagate storage errors
7 years ago
Brian Brazil bf7d87aed2 Cleanup storage from all tests.
7 years ago
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Julius Volz f7e8348a88 Re-add contexts to storage.Storage.Querier() (#3230)
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Alexey Palazhchenko 695ec0b981 Fix few typos. (#2962)
7 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Goutham Veeramachaneni baf5b0f0fc Fix error where we look into the future. (#2829)
8 years ago
Brian Brazil fcc88f0e1e query/query_range should return eval timestamp
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
Julius Volz 3bfec97d46 Make the storage interface higher-level.
8 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
Tobias Schmidt e82ef154ee Remove unused code leftovers
9 years ago
Brian Brazil 653ff71f1f promql: Reduce flakiness of concurrency test
9 years ago
Brian Brazil ce7f31e03c promql: Bump sleep in query timeout test
9 years ago
Julius Volz 963ad82dcb Fix "go vet" errors.
9 years ago
Laurie Malau cdf38ab93a Log runtime errors during query evaluation instead of panicking.
9 years ago
Fabian Reinartz 690b5f1575 Remove multi-statement queries
9 years ago
Fabian Reinartz fe301d7946 promql: remove global flags
10 years ago
Fabian Reinartz 9ab1f6c690 Limit maximum number of concurrent queries.
10 years ago
Fabian Reinartz fe935179cd Stop routing rule statements through the engine.
10 years ago
Fabian Reinartz 5602328c7c Refactor query evaluation.
10 years ago