package
0.0.0-20201007121644-85862429506e
Repository: https://github.com/modularise/prometheus-tsdb.git
Documentation: pkg.go.dev

# Functions

ChainedSeriesMerge returns single series from many same, potentially overlapping series by chaining samples together.
EmptyChunkSeriesSet returns a chunk series set that's always empty.
EmptySeriesSet returns a series set that's always empty.
ErrChunkSeriesSet returns a chunk series set that wraps an error.
ErrSeriesSet returns a series set that wraps an error.
ExpandChunks iterates over all chunks in the iterator, buffering all in slice.
ExpandSamples iterates over all samples in the iterator, buffering all in slice.
NewBuffer returns a new iterator that buffers the values within the time range of the current element and the duration of delta before, initialized with an empty iterator.
NewBufferIterator returns a new iterator that buffers the values within the time range of the current element and the duration of delta before.
NewCompactingChunkSeriesMerger returns VerticalChunkSeriesMergeFunc that merges the same chunk series into single chunk series.
NewFanout returns a new fanout Storage, which proxies reads and writes through to multiple underlying storages.
NewListChunkSeriesFromSamples returns chunk series entry that allows to iterate over provided samples.
NewListChunkSeriesIterator returns listChunkSeriesIterator that allows to iterate over provided chunks.
NewListSeries returns series entry with iterator that allows to iterate over provided samples.
NewListSeriesIterator returns listSeriesIterator that allows to iterate over provided samples.
NewMergeChunkQuerier returns a new Chunk Querier that merges results of given primary and secondary chunk queriers.
NewMergeChunkSeriesSet returns a new ChunkSeriesSet that merges many SeriesSet together.
NewMergeQuerier returns a new Querier that merges results of given primary and secondary queriers.
NewMergeSeriesSet returns a new SeriesSet that merges many SeriesSets together.
NewSeriesSetFromChunkSeriesSet converts ChunkSeriesSet to SeriesSet by decoding chunks one by one.
NewSeriesSetToChunkSet converts SeriesSet to ChunkSeriesSet by encoding chunks from samples.
NoopChunkedQuerier is a ChunkQuerier that does nothing.
NoopChunkedSeriesSet is a ChunkSeriesSet that does nothing.
NoopQuerier is a Querier that does nothing.
NoopSeriesSet is a SeriesSet that does nothing.

# Variables

The errors exposed.
The errors exposed.
The errors exposed.
The errors exposed.

# Structs

BufferedSeriesIterator wraps an iterator with a look-back buffer.
No description provided by the author
SelectHints specifies hints passed for data selections.
No description provided by the author

# Interfaces

Appendable allows creating appenders.
Appender provides batched appends against a storage.
No description provided by the author
ChunkQuerier provides querying access over time series data of a fixed time range.
A ChunkQueryable handles queries against a storage.
ChunkSeries exposes a single time series and allows iterating over chunks.
ChunkSeriesSet contains a set of chunked series.
LabelQuerier provides querying access over labels.
Labels represents an item that has labels e.g.
Querier provides querying access over time series data of a fixed time range.
A Queryable handles queries against a storage.
SampleAndChunkQueryable allows retrieving samples as well as encoded samples in form of chunks.
No description provided by the author
Samples interface allows to work on arrays of types that are compatible with tsdbutil.Sample.
Series exposes a single time series and allows iterating over samples.
SeriesSet contains a set of series.
Storage ingests and manages samples, along with various indexes.

# Type aliases

TODO(bwplotka): Move to promql/engine_test.go? QueryableFunc is an adapter to allow the use of ordinary functions as Queryables.
VerticalChunkSeriesMergeFunc returns merged chunk series implementation that merges potentially time-overlapping chunk series with the same labels into single ChunkSeries.
VerticalSeriesMergeFunc returns merged series implementation that merges series with same labels together.
No description provided by the author