prometheus/storage
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
..
remote tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
buffer.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
buffer_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
fanout.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
fanout_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
generic.go
interface.go Support appending different sample types to the same series (#9705) 2021-11-26 17:43:27 +05:30
lazy.go
memoized_iterator.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
memoized_iterator_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
merge.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
merge_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
noop.go
secondary.go
series.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30