Commit Graph

189 Commits (0f760f63dd5137ad406e0bc9f08676898e04ac97)

Author SHA1 Message Date
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614)
1 year ago
beorn7 aa82fe198f tsdb: Fix histogram validation
1 year ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050)
1 year ago
Charles Korn 145d7457fe
Address PR feedback: use loop to create expected test result
1 year ago
Charles Korn 6903d6edd8
Add test to confirm `timestamp()` behaves correctly when evaluating a range query.
1 year ago
Julien Pivotto 0a48f93111
Merge pull request #10367 from ianwoolf/pr_add_close_for_query_logger
1 year ago
Giedrius Statkevičius 3f230fc9f8 promql: convert QueryOpts to interface
1 year ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262)
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface
2 years ago
ianwoolf 79e4bdee8e add Close for ActiveQueryTracker to close the file.
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
Trevor Whitney dd94ebb87b
promql: set CounterResetHint after rate and sum
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints
2 years ago
Ganesh Vernekar 3c2ea91a83
tsdb: Test gauge float histograms
2 years ago
Marc Tudurí 49f775d8a0
histograms: Add missing float histograms tests for PromQL (#11780)
2 years ago
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
Bryan Boreham aa634e0b7e Update package promql tests for new labels.Labels type
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Giedrius Statkevičius a1d6ba59ac
promql: pass down subquery interval (#11163)
2 years ago
beorn7 a7c519930e histograms: Add Compact method to the normal integer Histogram
2 years ago
Bryan Boreham b01d29cf9e promql: in tests use labels.FromStrings
2 years ago
Ganesh Vernekar 71489d0e3d
Fix count() for histograms and add test case
2 years ago
Ganesh Vernekar 9325caa41c
Remove a TODO that is no longer valid (#11186)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Vilius Pranckaitis 4660656312
Allow setting custom lookback delta for instant queries (#9946)
2 years ago
Levi Harrison 77a7af4461
Add histogram validation (#11052)
2 years ago
Łukasz Mierzwa 54a3c3ba3f
Print query that caused a panic (#10995)
2 years ago
beorn7 9eafed0f79 promql: Add `histogram_count` and `histogram_sum`
2 years ago
beorn7 a3a8f58bb3 promql: Add histogram_fraction function
2 years ago
beorn7 ffaabea91a promql: Refine zero bucket treatment in histogramQuantile
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
Łukasz Mierzwa 08262454a3
Preallocate Labels in labels.Builder (#10749)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Alan Protasio ce6a643ee8
Changing TotalQueryableSamples from int to int64 (#10549)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
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
Björn Rabenstein ec80745884
Merge pull request #10075 from prometheus/beorn7/histogram
3 years ago
beorn7 3b4d6c3fdb model: Implement FloatHistogram.Compact
3 years ago
beorn7 e7592fe353 sparsehistogram: Address two TODOs
3 years ago
beorn7 a6acdfe346 histograms: Doc comment and naming improvements
3 years ago
Ganesh Vernekar f580248759
Support + operator for sparse histograms (#9949)
3 years ago
Ganesh Vernekar 187a767292
Implement sum() for sparse histograms (#9948)
3 years ago
Ganesh Vernekar 4a43349aca
`histogram_quantile` for sparse histograms (#9935)
3 years ago
Björn Rabenstein 0e1b9dd308
Promql: Initial rate implementation for sparse histograms (#9926)
3 years ago
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