prometheus/cmd/promtool
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
..
testdata Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343) 2021-10-28 02:01:28 +02:00
archive.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
backfill_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
backfill.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
debug.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
main_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
main.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
rules_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
rules.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
sd_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
sd.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
tsdb.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
unittest_test.go Promtool: Add feature flags to unit tests (#8958) 2021-06-30 22:43:39 +01:00
unittest.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00