Commit Graph

105 Commits (1bfb3ed062e99bd3c74e05d9ff9a7fa4e30bbe21)

Author SHA1 Message Date
Matthieu MOREL 2972cc5e8f tsdb/index: use Go standard errors package 2 years ago
songjiayang 443867f1aa symbolCacheEntry field type alignment, thus saving 8 bytes. 2 years ago
Arve Knudsen ae9221e152
tsdb/index.Symbols: Drop context argument from Lookup method (#13058) 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
George Krajcsovits 7d7b9eacff
Fix int32 overflow issues (#12978) 2 years ago
Oleg Zaytsev fe90dcccff
Revert ListPostings change (#12955) 2 years ago
Oleg Zaytsev 5bd8c8c561
Clarify Postings.At() contract (#12921) 2 years ago
Oleg Zaytsev 1492031ef2
Optimize ListPostings Next() (#12906) 2 years ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650) 2 years ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665) 2 years ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666) 2 years ago
Arve Knudsen 4451ba10b4
Add context argument to IndexReader.Postings (#12667) 2 years ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc 3 years ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc 3 years ago
Marco Pracucci 35069910f5
Fix infinite loop in index Writer when a series contains duplicated label names 3 years ago
Baskar Shanmugam 905a0bd63a
Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336) 3 years ago
Baskar Shanmugam f731a90a7f
Fix LabelValueStats in posting stats (#12342) 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
Đurica Yuri Nikolić b028112331
Making the number of CPU cores used for sorting postings lists editable (#12247) 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
Oleg Zaytsev de93a279a0
Shortcut postings for matchers when empty postings are selected (#11813) 3 years ago
György Krajcsovits 97626c9583 Fix comment 3 years ago
Bryan Boreham cf92cd2688 tsdb: sort values for Postings only when required 3 years ago
Bryan Boreham 3da2c99ffd tsdb/index: don't call ExpandPostings in a benchmark 3 years ago
Bryan Boreham 4931983ca9 tsdb/index: make BenchmarkIntersect do work on each loop 3 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface 3 years ago
Bryan Boreham a5bdff414b Update package tsdb/index tests for new labels.Labels type 3 years ago
Bryan Boreham d3d96ec887 tsdb/index: use ScratchBuilder to create Labels 3 years ago
Bryan Boreham 927a14b0e9 Update package tsdb/index for new labels.Labels type 3 years ago
Oleg Zaytsev 8553a98267
Optimize postings offset table reading (#11535) 3 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318) 3 years ago
Bryan Boreham 7f2374b703
tsdb: faster postings sort with generic slices.Sort (#11054) 3 years ago
songjiayang c2af0de522 make sure response error when TOC parse failed 4 years ago
Filip Petkovski d3cb39044e
Fix typo in symbol table size exceeded error message (#10746) 4 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
Bryan Boreham 2c1be4df7b
tsdb: more efficient sorting of postings read from WAL at startup (#10500) 4 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 4 years ago
Oleg Zaytsev a83d46ee9c
Tidy postingsWithIndexHeap (#10123) 4 years ago
Oleg Zaytsev 701545286d
Pop intersected postings heap without popping (#10092) 4 years ago
Oleg Zaytsev 3947238ce0
Label values with matchers by intersecting postings (#9907) 4 years ago
Oleg Zaytsev 5e746e4e88
Check postings bytes length when decoding (#9766) 4 years ago
Peter Štibraný 422e7839d4
Add more size checks when writing individual sections in the index. (#9710) 4 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 4 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536) 4 years ago
Marco Pracucci 309b094b92
Optimized MemPostings.EnsureOrder() (#9673) 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
Bryan Boreham 1fb3c1b598
Replace calls to strings.Compare (#9397) 4 years ago
Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301) 4 years ago
Bryan Boreham 9dfdc3eb36
Speed up BenchmarkPostings_Stats (#9213) 4 years ago
Jupiter 84ab705318
32 should better be replaced by "symbolFactor" (#9203) 4 years ago