prometheus/tsdb/chunkenc
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
- Pick At... method via return value of Next/Seek.
- Do not clobber returned buckets.
- Add partial FloatHistogram suppert.

Note that the promql package is now _only_ dealing with
FloatHistograms, following the idea that PromQL only knows float
values.

As a byproduct, I have removed the histogramSeries metric. In my
understanding, series can have both float and histogram samples, so
that metric doesn't make sense anymore.

As another byproduct, I have converged the sampleBuf and the
histogramSampleBuf in memSeries into one. The sample type stored in
the sampleBuf has been extended to also contain histograms even before
this commit.

Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-29 13:24:23 +05:30
..
bstream.go improve bstream comments and doc (#9560) 2021-10-25 18:44:15 +05:30
bstream_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
chunk.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
chunk_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
histogram.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
histogram_meta.go chunkenc: Add test for chunk layout encoding 2021-10-18 19:37:24 +02:00
histogram_meta_test.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
histogram_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
varbit.go Improve encoding of zero threshold 2021-10-14 14:47:26 +02:00
varbit_test.go Use more varbit in histogram chunks 2021-10-13 20:03:35 +02:00
xor.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30