Commit Graph

121 Commits (ff15b17400dc579bdb7b9d9ebcea6465453a64b2)

Author SHA1 Message Date
carrychair 856f6e49c8 fix function and struct name
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required
9 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Peter Štibraný e2b9cfeeeb
Enforce chunks ordering when writing index. (#8085)
10 months ago
Bryan Boreham 98c4889029
Merge pull request #9298 from Creatone/creatone/use-testify
10 months ago
Mikhail Fesenko 419dd265cc
Fix strange code, add messages to code brought in #8106 (#13509)
10 months ago
Mikhail Fesenko 5f2c3a5d3e
Small improvements, add const, remove copypasta (#8106)
10 months ago
Paweł Szulik 5961f78186 Refactor tsdb tests to use testify.
10 months ago
Marco Pracucci 501bc6419e
Add ShardedPostings() support to TSDB (#10421)
10 months ago
Giedrius Statkevičius 61b4080a14
tsdb/{index,compact}: allow using custom postings encoding format (#13242)
11 months ago
Bryan Boreham d0c2d9c0b9
Merge pull request #12878 from bboreham/loser-tree
12 months ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors
12 months ago
Bryan Boreham ab3a47b489 postings: use Loser Tree for merge
12 months ago
Bryan Boreham ee700151a3 tsdb/index: add benchmark for Postings.Merge
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Julien Pivotto 90ed7b08dc
Merge pull request #13124 from mmorel-35/patch-5
1 year ago
Matthieu MOREL 2972cc5e8f tsdb/index: use Go standard errors package
1 year ago
songjiayang 443867f1aa symbolCacheEntry field type alignment, thus saving 8 bytes.
1 year ago
Arve Knudsen ae9221e152
tsdb/index.Symbols: Drop context argument from Lookup method (#13058)
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
George Krajcsovits 7d7b9eacff
Fix int32 overflow issues (#12978)
1 year ago
Oleg Zaytsev fe90dcccff
Revert ListPostings change (#12955)
1 year ago
Oleg Zaytsev 5bd8c8c561
Clarify Postings.At() contract (#12921)
1 year ago
Oleg Zaytsev 1492031ef2
Optimize ListPostings Next() (#12906)
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
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
Julien Pivotto 1f5934e7be
Merge pull request #10623 from songjiayang/update-index
1 year ago
Julien Pivotto 0f85e4f41d
Merge pull request #12539 from bboreham/slices-sorts
1 year ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
Marco Pracucci 35069910f5
Fix infinite loop in index Writer when a series contains duplicated label names
1 year ago
Baskar Shanmugam 905a0bd63a
Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336)
2 years ago
Baskar Shanmugam f731a90a7f
Fix LabelValueStats in posting stats (#12342)
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
Đurica Yuri Nikolić b028112331
Making the number of CPU cores used for sorting postings lists editable (#12247)
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
Oleg Zaytsev de93a279a0
Shortcut postings for matchers when empty postings are selected (#11813)
2 years ago
Ganesh Vernekar fd89d7892c
Merge pull request #11809 from bboreham/dont-sort-postings-values
2 years ago
György Krajcsovits 97626c9583 Fix comment
2 years ago
Bryan Boreham cf92cd2688 tsdb: sort values for Postings only when required
2 years ago
Bryan Boreham 3da2c99ffd tsdb/index: don't call ExpandPostings in a benchmark
2 years ago
Bryan Boreham 4931983ca9 tsdb/index: make BenchmarkIntersect do work on each loop
2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface
2 years ago
Bryan Boreham a5bdff414b Update package tsdb/index tests for new labels.Labels type
2 years ago
Bryan Boreham d3d96ec887 tsdb/index: use ScratchBuilder to create Labels
2 years ago
Bryan Boreham 927a14b0e9 Update package tsdb/index for new labels.Labels type
2 years ago