prometheus/storage/remote
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
..
chunked.go Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 2020-04-15 11:17:41 +01:00
chunked_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
client.go Enable HTTP2 again (#9398) 2021-09-26 23:16:12 +02:00
client_test.go tests: Move from t.Errorf and others. (Part 2) (#9309) 2021-09-13 21:19:20 +02:00
codec.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
codec_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
ewma.go Replace sync/atomic with uber-go/atomic (#7683) 2020-07-30 13:15:42 +05:30
intern.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
intern_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
max_timestamp.go Remote: Do not collect non-initialized timestamp metrics (#8060) 2020-10-15 23:53:59 +02:00
metadata_watcher.go Fix imports formatting 2021-11-02 19:52:34 +01:00
metadata_watcher_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
queue_manager.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
queue_manager_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
read.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
read_handler.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
read_handler_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
read_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
storage.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
storage_test.go Allow metric metadata to be propagated via Remote Write. (#6815) 2020-11-19 20:53:03 +05:30
write.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
write_handler.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
write_handler_test.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
write_test.go storage/remote: make tests use separate remote write configs 2021-11-10 09:40:43 +01:00