Commit Graph

51 Commits (c0879d64cf66d7902b838fd73376c30b344055c1)

Author SHA1 Message Date
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
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
Chris Marchbanks c8f810083d
Cache label name and last value when adding series (#8192)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Guangwen Feng 9439b2150d
Fix golint warning caused by misspell (#7842)
4 years ago
Ganesh Vernekar 082c17b691
Introduce SortedLabelValues/LabelValues to speedup queries for high cardinality (#7448)
4 years ago
Julien Pivotto 0cff72d756 tsdb: writePostingsToTmpFiles returns nil instead of err (#6618)
5 years ago
Bartlomiej Plotka 1e64d757f7
Merge pull request #6585 from prometheus/fix-symbols-lookup
5 years ago
Guangwen Feng 5e906cc09a Fix typo in comment for func AddPadding
5 years ago
Bartlomiej Plotka 59ea320d96 tsdb: Fixed Symbol Lookup edge case; Added tests.
5 years ago
Bartlomiej Plotka 863613300d Exposed FileWriter. (#6589)
5 years ago
Brian Brazil 4708915ac6 Replace StringTuples with []string
5 years ago
Brian Brazil e9ede51753 Remove last vestiges of never used composite index code.
5 years ago
Brian Brazil 000e306f2f
Handle V1 indexes, some of which have unsorted posting offset tables. (#6564)
5 years ago
Brian Brazil 536d416299
Fix tsdb code and tests to work on Windows. (#6547)
5 years ago
Brian Brazil 2b653ee230 Write label indices based on the posting offset table.
5 years ago
Brian Brazil 7d1aad46b8 Put postings in a temporary file during index writing.
5 years ago
Brian Brazil dee6981a6c Move writing of index label indices into IndexWriter.
5 years ago
Brian Brazil 1733724e30 Factor out index file writing code.
5 years ago
Brian Brazil 85964ce567 During compaction spool postings offset table on the side.
5 years ago
Brian Brazil d782387f81
Stream symbols during compaction. (#6468)
5 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory.
5 years ago
Brian Brazil 0482d93fe6 Add contexts to index writer to fix test races.
5 years ago
Brian Brazil cf76daed2f Avoid WriteAt for Postings.
5 years ago
Brian Brazil 971dafdfbe Coalesce series reads where we can.
5 years ago
Brian Brazil 373a1fdfbf Reread index series rather than storing in memory.
5 years ago
Brian Brazil 48d25e6fe7 Reduce memory used by postings offset table.
5 years ago
Brian Brazil 4df814f509
Don't buffer up tables in memory on compaction. (#6422)
5 years ago
Ben Ye c0250cf120 Fix some typos(#6423)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago