Commit Graph

1144 Commits (af1a19fc78ac7f7c3164bfb240d48d091f0ada1f)

Author SHA1 Message Date
Charles Korn 9b451abec7
Make positive and negative bucket counts different in existing test cases
3 months ago
Charles Korn 90dc1b45db
promqltest: use test expression format for histograms in assertion failure messages
3 months ago
Charles Korn e67358d203
histogram: include counter reset hint in test expression output
3 months ago
beorn7 2304be9dd5 promql: Improve the rate extrapolation explanation
3 months ago
Bryan Boreham abb0502685 [ENHANCEMENT] PromQL: Add detail to tracing spans
3 months ago
Bryan Boreham 54989ce6fd PromQL: add short string method
3 months ago
Bryan Boreham 8742077498 [BUGFIX] PromQL: pass Context so spans parent correctly
3 months ago
Arve Knudsen 70bb219d33
Merge pull request #14680 from charleskorn/promqltest-scalar
3 months ago
Arve Knudsen 5dfbcc390e Merge remote-tracking branch 'prometheus/main' into arve/close-engine
3 months ago
Jan Fajerski 956245b25b promqltest: adjust eval times and range selector
3 months ago
Jan Fajerski 00315ce15e Merge branch 'main' into 3.0-main-sync-24-08-30
3 months ago
Neeraj Gartia 8c7bf39d96
Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688)
3 months ago
Jorge Creixell e9e3d64b7c
PromQL engine: Delay deletion of __name__ label to the end of the query evaluation (#14477)
3 months ago
Arve Knudsen 99204f23ee Merge remote-tracking branch 'prometheus/main' into arve/close-engine
3 months ago
Björn Rabenstein 849215d90c
Merge pull request #14585 from fatsheep9146/covert-TestNativeHistogram_Sum_Count_Add_AvgOperator-to-framework
3 months ago
Owen Williams 9da75328ea
fix(utf8): ensure correct validation when legacy mode turned on (#14736)
3 months ago
Arve Knudsen c9a460d570 Merge remote-tracking branch 'prometheus/main' into arve/close-engine
3 months ago
Ziqi Zhao 87eab0aaad fix golang lint
3 months ago
Ziqi Zhao c7c4a5c347 add helper function to compare native histograms in testing
3 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Jan Fajerski 7c8c748399 promql tests: adjust range query intervals
3 months ago
Björn Rabenstein 7fad1ec8ee
Merge pull request #14655 from suntala/suntala/sort-by-label-enhancement
3 months ago
Jan Fajerski 5138922b0d Merge branch 'main' into 3.0-main-sync-24-08-21
3 months ago
Ziqi Zhao 8f828d45c1 convert TestNativeHistogram_Sum_Count_Add_AvgOperator into testing framework
3 months ago
suntala 8e82ac8d2b Add comments to the sort by label functions
3 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1
3 months ago
Charles Korn 6548421f61
promqltest: improve error messages when unexpected type is returned, and fix inverted expected and actual values in error message when scalar value does not match expected
3 months ago
Björn Rabenstein 1daf7cdd62
Merge pull request #14626 from cuiweiyuan/main
3 months ago
cuiweiyuan 1800af54f0 chore: fix some function names
3 months ago
Charles Korn 52818a97e2
Merge branch 'main' into sum-and-avg-over-mixed-custom-exponential-histograms
3 months ago
Björn Rabenstein c2bc6cfe97
Merge pull request #14621 from charleskorn/panic-message
3 months ago
George Krajcsovits fe5354df88
Merge pull request #14658 from krajorama/zero-rate-nh-quantile
3 months ago
György Krajcsovits 386fc8b9f6 Update from review comments.
3 months ago
Arve Knudsen 0503d4f372 PromQL: Fix comment regarding non-nil histogram pointer
3 months ago
György Krajcsovits 6aee5b4b38 fix typo
3 months ago
György Krajcsovits 06a8886b94 Native histograms: define behavior when rate is null.
3 months ago
suntala fd2f44af7f Fall back to comparing by label set when sorting by label desc
4 months ago
suntala 94ad489328 Fall back to comparing by label set when sorting by label
4 months ago
Charles Korn f992f81bd0
Merge branch 'main' into sum-and-avg-over-mixed-custom-exponential-histograms
4 months ago
Charles Korn 5cfdde327c
Address PR feedback: add extra test case
4 months ago
Charles Korn 82bb35fabb
Address PR feedback: fix typo and rename variable
4 months ago
Björn Rabenstein 41f8a0223c
Merge pull request #14609 from charleskorn/rate-over-mixed-custom-exponential-histograms
4 months ago
Manik Rana 02c465bf58
textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356)
4 months ago
Charles Korn f91009aa2e
promql: clarify error message when panic occurs during query evaluation
4 months ago
Björn Rabenstein 27579c9148
Merge pull request #14605 from krajorama/fix-staleness-pool-corrupt
4 months ago
George Krajcsovits 17b0b788da
Update promql/engine.go
4 months ago
Charles Korn 0f4bc87b4f
Make linter happy
4 months ago
Charles Korn f07b3ae67b
Fix issue where `avg` over mixed exponential and custom buckets, or incompatible custom buckets, produces incorrect results or panics
4 months ago
Charles Korn 5ee94f49a2
Fix issue where `sum` over mixed exponential and custom buckets, or incompatible custom buckets, produces incorrect results
4 months ago
Charles Korn 424cefcf5e
Fix "cannot reduce resolution to custom buckets schema" panic in `rate` over native histograms with mix of custom and exponential buckets
4 months ago
Charles Korn f6e4b775e2
Check for errors first
4 months ago
György Krajcsovits b91acc61b0 Add unit test
4 months ago
Björn Rabenstein ee5bba07c0
Merge pull request #14413 from prometheus/beorn7/promql
4 months ago
Björn Rabenstein 71ba554293
Merge pull request #14482 from ywwg/owilliams/group-quote
4 months ago
György Krajcsovits 37c8c9257b Fix histogram pool poisoning bu chunkenc.Iterator
4 months ago
Charles Korn aadec25faf
promql: Fix issue where some native histogram-related annotations are not emitted by `rate` (#14575)
4 months ago
Owen Williams d90c5a71d7 support quoting in grouping label lists
4 months ago
Jan Fajerski 8a96a75ba8 Merge branch 'main' into 3.0-main-sync-24-08-01
4 months ago
Filip Petkovski 3e6155e596
Use CopyTo when resetting histogram in stats iterator
4 months ago
Charles Korn 7fab72a280
promqltest: add support for setting counter reset hint on histogram samples (#14537)
4 months ago
Max Amin 84b819a69f
feat: add Google cloud roundtripper for remote write (#14346)
4 months ago
Filip Petkovski 2cd97c61e0
Add more test cases
4 months ago
Arve Knudsen 7c873004c7 Merge remote-tracking branch 'prometheus/main' into arve/close-engine
4 months ago
Filip Petkovski be7a4c9b83
Ignore stale histograms for counter reset detection
4 months ago
Jan Fajerski adf5d6bce1 Merge branch 'main' into 3.0-main-sync-24-07-18
4 months ago
Björn Rabenstein ca7062cf49
Merge pull request #14464 from prometheus/beorn7/histogram
4 months ago
beorn7 c39776c5b5 promql: Add NHCB tests
4 months ago
Bryan Boreham bb241d7960
Merge pull request #14463 from fpetkovski/customize-acceptance-tests
4 months ago
Arve Knudsen fbc9eddfaf Refactor engine creation in tests
4 months ago
Arve Knudsen fec6adadcd Merge remote-tracking branch 'prometheus/main' into arve/close-engine
4 months ago
Bryan Boreham d116bf7b9f
Merge pull request #14109 from harry671003/pass_limit_to_querier
5 months ago
Filip Petkovski cb8b6d7504
Allow built-in tests to be customized
5 months ago
beorn7 cff0429b1a promql: make avg_over_time faster and more precise
5 months ago
beorn7 3a908d8e08 promql: Improve Kahan usage in avg_over_time
5 months ago
beorn7 c46074f4dd promql: make avg aggregation more precise and less expensive
5 months ago
darshanime bd4ea118e9 Allow durations for number rule
5 months ago
darshanime cfad8ff3b2 Deprecate duration token
5 months ago
darshanime 8c8860d2d6 Allow number literals as duration
5 months ago
Filip Petkovski acb6c1ae4b
Fix decoding buckets for native histograms in binops
5 months ago
Jan Fajerski c0d67fd845 Merge branch 'main' into 3.0-main-sync-24-07-09
5 months ago
beorn7 b5b04ddbe3 promql: add avg aggregation benchmark
5 months ago
beorn7 44d8c1d182 nit: add period at end of sentence
5 months ago
beorn7 9a837b7f3c promql: Make groupedAggregation.groupCount a float64
5 months ago
JuanJo Ciarlante c94c5b64c3
feat: add limitk() and limit_ratio() operators (#12503)
5 months ago
Arve Knudsen 493e196f10 Fix bad merge
5 months ago
Arve Knudsen 020b0f200a Merge remote-tracking branch 'prometheus/main' into arve/close-engine
5 months ago
Jan Fajerski b4152309a4 Merge branch 'main' into 3.0-main-sync
5 months ago
Ganesh Vernekar 3d54bcc018
Merge pull request #14362 from charleskorn/charleskorn/sum-infinity
5 months ago
Arve Knudsen e8ae8cf012 Merge remote-tracking branch 'prometheus/main' into arve/close-engine
5 months ago
Charles Korn fd6bdf5230
Fix issue where summation of +/- infinity returns NaN instead of infinity
5 months ago
Björn Rabenstein 2e58d46522
Merge pull request #13662 from prometheus/nhcb
5 months ago
Björn Rabenstein 19da579799
Merge pull request #12821 from rexagod/12769
5 months ago
Pranshu Srivastava 3c9e3ee552
parser: support underscores
5 months ago
Bryan Boreham b6aba4ff14
Merge pull request #14074 from bboreham/kahan-sum-sum
5 months ago
🌲 Harry 🌊 John 🏔 d5f6887294 Pass limit param as hint to storage.Querier
5 months ago
Jeanette Tan dda5f48c9e Merge branch 'main' into nhcb-review-2
5 months ago
Jeanette Tan fc9dc72028 remove eval_with_nhcb
5 months ago
Jeanette Tan a6d788b1be update missed suggested change from code review
5 months ago
Zhang Zhanpeng debbdb8608 make matrix selection and lookback left-open and right-closed
5 months ago
Bryan Boreham 84602bbace
Merge branch 'main' into fix-matcher-string-with-empty-label-name
5 months ago