Commit Graph

67 Commits (f1065e44a4241097c4c2a53c44793e80d3475cf1)

Author SHA1 Message Date
beorn7 8f92c90897 Add TODOs and some minor tweaks
3 years ago
beorn7 4998b9750f chunkenc: Bugfix and naming tweaks
3 years ago
beorn7 78ef9c6359 chunkenc: make xor reading more DRY
3 years ago
beorn7 4a1b84f8b2 chunkenc: make xor writing more DRY
3 years ago
Björn Rabenstein 3704c6c20a
Merge pull request #9533 from prometheus/beorn7/sparsehistogram
3 years ago
beorn7 1a4e54cfbb tsdb: Complete chunk format documentation
3 years ago
beorn7 0876d57aea chunkenc: Add test for chunk layout encoding
3 years ago
beorn7 ad9b4c2b68 Fix typos
3 years ago
beorn7 ed33aea392 Avoid redundant varint decoding in chunk appender construction
3 years ago
beorn7 d31bb75dc4 Use VarbitUint rather than VarbitInt to encode len(spans)
3 years ago
beorn7 3179215a59 Encode zero threshold first
3 years ago
beorn7 c5522677bf Improve encoding of zero threshold
3 years ago
beorn7 7093b089f2 Use more varbit in histogram chunks
3 years ago
Björn Rabenstein 7309c20e7e
Merge pull request #9500 from codesome/resettests
3 years ago
Ganesh Vernekar dcaf568279
Metadata -> Layout renaming
3 years ago
Ganesh Vernekar 4e206c7c77
Fix reviews
3 years ago
Ganesh Vernekar 85e6686f84
Add unit test for counter reset header
3 years ago
Björn Rabenstein 311673d62e
Save on slice allocations in histogramIterator (#9494)
3 years ago
Björn Rabenstein c450c01eb9
Remove obsolete TODOs about metadata (#9490)
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
Ganesh Vernekar 5d4dc7e413
Convert the header into an enum
3 years ago
Ganesh Vernekar 175ef4ebcf
Add a NotCounterReset flag
3 years ago
Ganesh Vernekar a280b6c2da
Fix review comments
3 years ago
Ganesh Vernekar eb9931e961
Add info about counter resets in chunk meta
3 years ago
Ganesh Vernekar 1dd22ed655
Support stale samples for sparse histograms (#9352)
3 years ago
Ganesh Vernekar c373200b75
Cut a new chunk on counter resets for any bucket
3 years ago
Ganesh Vernekar 19e98e5469
Support storing the zero threshold in the histogram chunk (#9165)
3 years ago
Ganesh Vernekar 7026e6b4e4
Fix tests in histo_test.go (#9163)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
jinglina 1a430e5f89
remove redundant parentheses (#9134)
3 years ago
Bryan Boreham 6788760efa
Reduce memory allocation in benchmarkIterator() (#5983)
3 years ago
Ganesh Vernekar 4fefd7520e
Skip the failing TestHistoChunkSameBuckets (#9089)
3 years ago
beorn7 cb75747bce Fix re-encoding
3 years ago
beorn7 01957eee2b Fix interjections even more
3 years ago
beorn7 dc1c744169 Fix interjections at the end
3 years ago
Oleg Zaytsev 40126a8494
Use binary literals for xor chunk encoding
3 years ago
beorn7 deb02d59fb Fix lint issues
3 years ago
Dieter Plaetinck dc6b068c67 bugfix: only bump numRead when all fields are successfully read
3 years ago
Dieter Plaetinck 98f86d671a cleanup comments
3 years ago
Dieter Plaetinck 99ae04bb6f add SHS chunk recoding and head cutting to head block (no tests yet)
3 years ago
Ganesh Vernekar 4c01ff5194
Bunch of fixes for sparse histograms (#9043)
3 years ago
Dieter Plaetinck 6c13375ac8
sparsehistogram recoding upon detection that new buckets have appeared (#9030)
3 years ago
beorn7 518b77c59d Fix a few trivial style nits
3 years ago
Ganesh Vernekar f4d3af73f0
Query histograms from TSDB and unit test for append+query (#9022)
3 years ago
Dieter Plaetinck 4d27816ea5
Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015)
3 years ago
Ganesh Vernekar 04ad56d9b8
Append sparse histograms into the Head block (#9013)
3 years ago
Dieter Plaetinck 58917d1b76
sparsehistogram: integer types and timestamp separation (#9014)
3 years ago
Dieter Plaetinck fd11a339a7
Sparsehistogram chunk implementation (#9009)
3 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
johncming 28ca0965f0
tsdb/chunkenc: fix typo of return error. (#7670)
4 years ago