Commit Graph

42 Commits (9c4782f1cc34f85f07daaaed14af2e7ad1ff56a0)

Author SHA1 Message Date
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Matthieu MOREL 2972cc5e8f tsdb/index: use Go standard errors package 2 years ago
Arve Knudsen ae9221e152
tsdb/index.Symbols: Drop context argument from Lookup method (#13058) 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
Marco Pracucci 35069910f5
Fix infinite loop in index Writer when a series contains duplicated label names 2 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
Oleg Zaytsev 8553a98267
Optimize postings offset table reading (#11535) 3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 4 years ago
Oleg Zaytsev 5e746e4e88
Check postings bytes length when decoding (#9766) 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
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
kjinan e1370eecde typos correct 5 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782) 5 years ago
Robert-André Mauchin ed6ce7ac98
Convert int to string using rune() (#7707) 5 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566) 5 years ago
Ganesh Vernekar 082c17b691
Introduce SortedLabelValues/LabelValues to speedup queries for high cardinality (#7448) 6 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 6 years ago
Bartlomiej Plotka 59ea320d96 tsdb: Fixed Symbol Lookup edge case; Added tests. 6 years ago
Brian Brazil 4708915ac6 Replace StringTuples with []string 6 years ago
Brian Brazil e9ede51753 Remove last vestiges of never used composite index code. 6 years ago
Brian Brazil ada0945b8f Fix tsdb code and tests to work on Windows. (#6547) 6 years ago
Brian Brazil 536d416299
Fix tsdb code and tests to work on Windows. (#6547) 6 years ago
Josh Soref 91d76c8023 Spelling (#6517) 6 years ago
Brian Brazil dee6981a6c Move writing of index label indices into IndexWriter. 6 years ago
Brian Brazil d782387f81
Stream symbols during compaction. (#6468) 6 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory. 6 years ago
Brian Brazil 0482d93fe6 Add contexts to index writer to fix test races. 6 years ago
Brian Brazil 971dafdfbe Coalesce series reads where we can. 6 years ago
Brian Brazil 373a1fdfbf Reread index series rather than storing in memory. 6 years ago
Brian Brazil 48d25e6fe7 Reduce memory used by postings offset table. 6 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326) 6 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge. 6 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 6 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory 6 years ago
Krasi Georgiev 288f67efbf
fix some unchecked errors and remove unused vars. (#592) 7 years ago
Pavel Borzenkov 520b1d858f index: add a test to trigger fd leak on corrupted index (#576) 7 years ago
Bartek Płotka 3ab5f4e579 index: reduce empty postings trees (#509) 7 years ago
zhulongcheng 921da4dced Remove unused statement from index test (#558) 7 years ago
Krasi Georgiev c3ffdf1a99
Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 7 years ago
Alec e7436e13f0 Merge encoding_helpers.go to tsdbutil (#526) 7 years ago
Krasi Georgiev 53c18e7a41 use a global indexFilename constant 7 years ago