Commit Graph

299 Commits (771f512757c5e0ce8bb5fe9c5d6890f28f665742)

Author SHA1 Message Date
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
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
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 551de0346f promql: Do not return nil slices to the pool
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Łukasz Mierzwa b6573353c1 Add query_samples_total metric
2 years ago
Ganesh Vernekar 5588cab8b2
Merge pull request #12173 from bboreham/builder-no-empty-labels
2 years ago
Bryan Boreham 1bb6b8b309
Merge pull request #12190 from bboreham/faster-topk
2 years ago
Oleg Zaytsev 6e2905a4d4
Use zeropool.Pool to workaround SA6002 (#12189)
2 years ago
Bryan Boreham f2fd85df82 promql: use faster heap method for topk/bottomk
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham 1b0a29701b promql: optimise aggregation with no labels
2 years ago
Bryan Boreham aafef011b7 Promql: reuse LabelBuilder in aggregations
2 years ago
Bryan Boreham 2c382f5e24 promql: extract function to initialize LabelBuilder
2 years ago
Bryan Boreham 56fefcd812 Update package promql for new labels.Labels type
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Alan Protasio 8460807475 fix blank lines
2 years ago
Alan Protasio f8f4ac14a8 Finishing evalSpanTimer always before return
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
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
2 years ago
Ganesh Vernekar 71489d0e3d
Fix count() for histograms and add test case
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
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
Łukasz Mierzwa 54a3c3ba3f
Print query that caused a panic (#10995)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 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
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Alan Protasio ce6a643ee8
Changing TotalQueryableSamples from int to int64 (#10549)
3 years ago
beorn7 106e20cde5 Histogram: Fix and simplify histogram_quantile
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
beorn7 9fbcf14e5c histogram: Handle changes of the ZeroThreshold and the Schema
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