prometheus/storage
Bartlomiej Plotka b788986717
storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059)
* Fixed nits introduced by https://github.com/prometheus/prometheus/pull/7334
* Added ChunkQueryable implementation to fanout and readyStorage.
* Added more comments.
* Changed NewVerticalChunkSeriesMerger to CompactingChunkSeriesMerger, removed tiny interface by reusing VerticalSeriesMergeFunc for overlapping algorithm for
both chunks and series, for both querying and compacting (!) + made sure duplicates are merged.
* Added ErrChunkSeriesSet
* Added Samples interface for seamless []promb.Sample to []tsdbutil.Sample conversion.
* Deprecating non chunks serieset based StreamChunkedReadResponses, added chunk one.
* Improved tests.
* Split remote client into Write (old storage) and read.
* Queryable client is now SampleAndChunkQueryable. Since we cannot use nice QueryableFunc I moved
all config based options to sampleAndChunkQueryableClient to aboid boilerplate.

In next commit: Changes for TSDB.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2020-06-24 14:41:52 +01:00
..
fanout storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
remote storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
buffer.go storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005) 2020-03-24 20:15:47 +00:00
buffer_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
fanout.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
fanout_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
generic.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
interface.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
lazy.go *: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251) 2020-06-09 17:57:31 +01:00
noop.go *: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251) 2020-06-09 17:57:31 +01:00
secondary.go *: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251) 2020-06-09 17:57:31 +01:00
series.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
series_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00