Commit Graph

92 Commits (5e21b3b2c6813b03f267c03124509745b5f848dd)

Author SHA1 Message Date
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
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
Bryan Boreham 7f2374b703
tsdb: faster postings sort with generic slices.Sort (#11054)
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
Bryan Boreham 2c1be4df7b
tsdb: more efficient sorting of postings read from WAL at startup (#10500)
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Oleg Zaytsev a83d46ee9c
Tidy postingsWithIndexHeap (#10123)
3 years ago
Oleg Zaytsev 701545286d
Pop intersected postings heap without popping (#10092)
3 years ago
Oleg Zaytsev 3947238ce0
Label values with matchers by intersecting postings (#9907)
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
Marco Pracucci 309b094b92
Optimized MemPostings.EnsureOrder() (#9673)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Bryan Boreham 1fb3c1b598
Replace calls to strings.Compare (#9397)
3 years ago
Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301)
3 years ago
Bryan Boreham 9dfdc3eb36
Speed up BenchmarkPostings_Stats (#9213)
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
kjinan e1370eecde typos correct
4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago
Nguyen Le Vu Long cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page (#8343)
4 years ago
Chris Marchbanks c8f810083d
Cache label name and last value when adding series (#8192)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago