139 Commits (88bb05c3e8d84de147f219f6e4c891d8ba87edc2)

Author SHA1 Message Date
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 3 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 3 months ago
Oleg Zaytsev 726ed124e4
Replace `ListPostings.Seek`'s binary search call by the generic `slices.BinarySearch` (#14393) 5 months ago
Oleg Zaytsev fd1a89b7c8
Pass affected labels to `MemPostings.Delete()` (#14307) 5 months ago
Ben Ye 0e6fca8e76 add unit test 5 months ago
Ben Ye e7db2e30a4 fix check context cancellation not incrementing count 5 months ago
Oleg Zaytsev 64a9abb8be
Change LabelValuesFor() to accept index.Postings (#14280) 5 months ago
Oleg Zaytsev 10a3c7220b
`MemPostings.PostingsForLabelMatching()`: don't hold the mutex while matching (#14286) 6 months ago
Oleg Zaytsev 2dc177d8af
`MemPostings.Delete()`: reduce locking/unlocking (#13286) 6 months ago
Arve Knudsen b8b9015e38 tsdb/index: Fix TestReader_PostingsForLabelMatchingHonorsContextCancel 6 months ago
Oleg Zaytsev fe9cb5a803
Check context every 128 labels instead of 100 (#14118) 6 months ago
Arve Knudsen 5ca56eeb6b
tsdb/index: Refactor Reader tests (#14071) 6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code 6 months ago
György Krajcsovits b215a41be4 tsdb/index/postings: fix missing lock unlock 6 months ago
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096) 6 months ago
Arve Knudsen 5c4310aa37
[ENHANCEMENT] TSDB: Optimize querying with regexp matchers 7 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041) 7 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905) 8 months ago
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
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
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
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
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
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 2 years ago