Commit Graph

809 Commits (c173cd57c921f582586fc725ad51124728757533)

Author SHA1 Message Date
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665)
1 year ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666)
1 year ago
Arve Knudsen 4451ba10b4
Add context argument to IndexReader.Postings (#12667)
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Julien Pivotto 284ba3426b
Merge pull request #12758 from bboreham/trim-rangequery-benchmarks
1 year ago
Bryan Boreham c5671c6d97
Merge pull request #12755 from bboreham/rangequery-benchmark-mmap
1 year ago
Bryan Boreham 1ea57a3f8c PromQL: reduce numbers of benchmarks
1 year ago
Bryan Boreham 0d283effa8 promql: force mmap of head chunks in BenchmarkRangeQuery
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
Bryan Boreham 5cea37c069
Merge pull request #12682 from bboreham/contains-same-label-set
1 year ago
Bryan Boreham 0670e4771a promql engine: check unique labels using existing map
1 year ago
Bryan Boreham 8d47b3d497
Merge pull request #12579 from charleskorn/timestamp
1 year ago
Charles Korn d396282941
Address PR feedback: clarify comment
1 year ago
Charles Korn 145d7457fe
Address PR feedback: use loop to create expected test result
1 year ago
Charles Korn 6087c555ed
Address PR feedback: clarify comment
1 year ago
Charles Korn fb3935e8f9
Address PR feedback: rename method
1 year ago
Julius Volz 531567d46e Drop metric name for "atan2" binary operator
1 year ago
Charles Korn 6903d6edd8
Add test to confirm `timestamp()` behaves correctly when evaluating a range query.
1 year ago
Charles Korn fde6ebb17d
Create per-series iterators only once per selector, rather than recreating it for each time step.
1 year ago
Charles Korn 993618adea
Don't create a new iterator for every time step.
1 year ago
Charles Korn b114c0888d
Simplify loop
1 year ago
Charles Korn a142998052
Expand series set just once
1 year ago
Charles Korn eeface2e17
Inline method
1 year ago
Charles Korn a2a2cc757e
Extract timestamp special case to its own method.
1 year ago
Charles Korn 15fa680117
Add benchmark for query using timestamp()
1 year ago
Julien Pivotto 0a48f93111
Merge pull request #10367 from ianwoolf/pr_add_close_for_query_logger
1 year ago
cui fliter 096ceca44f
remove repetitive words (#12556)
1 year ago
beorn7 162612ea86 histograms: Improve comment
1 year ago
Ziqi Zhao 42d9169ba1 enhance histogram_quantile to get min/max value
1 year ago
Carrie Edwards 2f9bc98b8a Add tests for min and max functions
1 year ago
Carrie Edwards bc0ee4a469 Implement native histogram min and max query functions
1 year ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc
1 year ago
Giedrius Statkevičius 3f230fc9f8 promql: convert QueryOpts to interface
1 year ago
Julien Pivotto a605b81b14
Merge pull request #12170 from fpetkovski/parser-inject-functions
1 year ago
Bryan Boreham 67d2ef004d Placate lint
2 years ago
Bryan Boreham bb0d8320dd promql: include parsing in active-query tracking
2 years ago
Bryan Boreham 71fc4f1516 promql: refactor: create query object before parsing
2 years ago
Bryan Boreham 1f3821379c promql: refactor: extract fn to wait on concurrency limit
2 years ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262)
2 years ago
beorn7 9e500345f3 textparse/scrape: Add option to scrape both classic and native histograms
2 years ago
Justin Lei 7bbf24b707 Make MemoizedSeriesIterator not implement chunkenc.Iterator
2 years ago
Justin Lei 6985dcbe73 Optimize and test MemoizedSeriesIterator
2 years ago
Matthieu MOREL 7e9acc2e46
golangci-lint: remove skip-cache and restore singleCaseSwitch rule
2 years ago
Julien Pivotto f7c6130ff2
Merge pull request #12251 from prymitive/query_samples_total
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago