|
|
|
|
@ -1324,10 +1324,7 @@ func (s *memSeries) appendFloatHistogram(t int64, fh *histogram.FloatHistogram, |
|
|
|
|
func (s *memSeries) appendPreprocessor( |
|
|
|
|
t int64, e chunkenc.Encoding, chunkDiskMapper *chunks.ChunkDiskMapper, chunkRange int64, |
|
|
|
|
) (c *memChunk, sampleInOrder, chunkCreated bool) { |
|
|
|
|
// Based on Gorilla white papers this offers near-optimal compression ratio
|
|
|
|
|
// so anything bigger that this has diminishing returns and increases
|
|
|
|
|
// the time range within which we have to decompress all samples.
|
|
|
|
|
const samplesPerChunk = 120 |
|
|
|
|
const samplesPerChunk = 220 |
|
|
|
|
|
|
|
|
|
c = s.head() |
|
|
|
|
|
|
|
|
|
|