package
0.0.0-20170228125039-54ca42f60911
Repository: https://github.com/bwplotka/cortex.git
Documentation: pkg.go.dev
# Functions
NewEngine creates a new promql.Engine for cortex.
NewQueryable creates a new Queryable for cortex.
# Structs
A ChunkQuerier is a Querier that fetches samples from a ChunkStore.
DummyStorage creates a local.Storage compatible struct from a Queryable, such that it can be used with web.NewAPI.
A MergeQuerier is a promql.Querier that merges the results of multiple cortex.Queriers for the same query.
Queryable is an adapter between Prometheus' Queryable and Querier.
# Interfaces
ChunkStore is the interface we need to get chunks.
A Querier allows querying all samples in a given time range that match a set of label matchers.