Commit Graph

120 Commits (879d80922a227c37df502e7315fad8ceb10a986d)

Author SHA1 Message Date
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
beorn7 8f92c90897 Add TODOs and some minor tweaks
3 years ago
Dieter Plaetinck d5bfbe3114
improve bstream comments and doc (#9560)
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
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Marco Pracucci 3b529ddbce
Cleanup bstream_test.go based on post-merge feedback received on #7390 (#7413)
5 years ago
Marco Pracucci f42ed03dc5
Optimized bstream reader used by XORChunk iterator (#7390)
5 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005)
5 years ago
Peter Štibraný 1d396b96dc
Specify that returned samples must be ordered by timestamp. (#6877)
5 years ago
Bartlomiej Plotka 59c9d6ef45 Addressed Brian's comments, moved metrics to main.go
5 years ago
Bartlomiej Plotka 5d84e5d895 Make chunkenc.Iterator.At behaviour unspecified without Next done.
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka 849faa407b Minor fixes.
5 years ago
Bartlomiej Plotka 2cf637fbf5 Addressed comments.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Marco Pracucci 699f3e8f4d
Added comments to the Chunk interface
5 years ago
Marco Pracucci 0703dae7cc
Compact TSDB head chunks after being cut, to reduce inuse memory
5 years ago
yuxiaobo 47e51c8b2b Correct spelling mistakes
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory
5 years ago