Commit Graph

81 Commits (3d54bcc018df3e081758db3e13a49f9a2566c49b)

Author SHA1 Message Date
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)
6 months ago
Oleg Zaytsev fe9cb5a803
Check context every 128 labels instead of 100 (#14118)
6 months ago
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096)
7 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
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
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
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
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
Bryan Boreham ce153e3fff Replace sort.Sort 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
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
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 10b27dfb84 Simplify IndexReader.Series interface
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
Oleg Zaytsev 8553a98267
Optimize postings offset table reading (#11535)
2 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
2 years ago
songjiayang c2af0de522 make sure response error when TOC parse failed
2 years ago
Filip Petkovski d3cb39044e
Fix typo in symbol table size exceeded error message (#10746)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Oleg Zaytsev 5e746e4e88
Check postings bytes length when decoding (#9766)
3 years ago
Peter Štibraný 422e7839d4
Add more size checks when writing individual sections in the index. (#9710)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Jupiter 84ab705318
32 should better be replaced by "symbolFactor" (#9203)
3 years ago
Marco Pracucci 84e786ebc1
Fixed Decoder.Series() error checking (#9201)
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Jupiter 7337ecf0d3
Log when total symbol size exceeds 2^32 bytes. (#9104)
3 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago