Commit Graph

89 Commits (d8f3e7d16cbcbbd705791753993eb288fb741a65)

Author SHA1 Message Date
Ganesh Vernekar 7ed1ddb338
tsdb: Improve TestHistogramChunkAppendable and add new cases
2 years ago
Ganesh Vernekar b42802af9a
tsdb: Improve TestFloatHistogramChunkAppendable and add new cases
2 years ago
Ganesh Vernekar 6fd89a6fd2
Add chunk encoding for float histogram (#11716)
2 years ago
beorn7 5f366e9b62 histograms: Improve tests and fix exposed bugs
2 years ago
Ganesh Vernekar b8b0d45d69
Fix reset of a histogram chunk iterator
2 years ago
Björn Rabenstein 503ffba49a
chunkenc: Slightly optimize xorWrite/xoRead (#11476)
2 years ago
Ganesh Vernekar 507bfa46fd
Fix HistogramChunk's AtFloatHistogram()
2 years ago
Signed-off-by: Jesus Vazquez 3362bf6d79
Fix merge conflicts
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham d166da7b59
tsdb: stop saving a copy of last 4 samples in memSeries (#11296)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Björn Rabenstein 7ad36505d5
tsdb: Update comment about a possible space optimization (#11303)
2 years ago
Ganesh Vernekar b2d01cbc57
Remove unnecessary code in encoding/decoding histograms (#11252)
2 years ago
Ganesh Vernekar 0f4e5196c4
Implement vertical compaction for native histograms (#11184)
2 years ago
beorn7 49be0784b4 tsdb: Fix chunk handling during histogram recoding
2 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
3 years ago
beorn7 f9c411604d Fix spelling errors
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
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