Lazy load chunks (#435)
* Lazy load chunks for queries. Signed-off-by:Goutham Veeramachaneni <gouthamve@gmail.com> * Add context to the lazy chunk calls Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Make sure labels are plumbed through Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Pre-load non-overlapping chunk iterators Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com>
Showing
- Gopkg.lock 4 additions, 3 deletionsGopkg.lock
- Gopkg.toml 2 additions, 1 deletionGopkg.toml
- pkg/chunkenc/lazy_chunk.go 87 additions, 0 deletionspkg/chunkenc/lazy_chunk.go
- pkg/ingester/instance.go 3 additions, 3 deletionspkg/ingester/instance.go
- pkg/iter/iterator.go 6 additions, 2 deletionspkg/iter/iterator.go
- pkg/querier/store.go 150 additions, 42 deletionspkg/querier/store.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/aws/aws_autoscaling.go 1 addition, 1 deletion...com/cortexproject/cortex/pkg/chunk/aws/aws_autoscaling.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/chunk_store.go 5 additions, 0 deletions.../github.com/cortexproject/cortex/pkg/chunk/chunk_store.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/composite_store.go 19 additions, 2 deletions...hub.com/cortexproject/cortex/pkg/chunk/composite_store.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/encoding/bigchunk.go 11 additions, 8 deletions...b.com/cortexproject/cortex/pkg/chunk/encoding/bigchunk.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/fixtures.go 15 additions, 15 deletionsvendor/github.com/cortexproject/cortex/pkg/chunk/fixtures.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/schema.go 107 additions, 1 deletionvendor/github.com/cortexproject/cortex/pkg/chunk/schema.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/schema_config.go 13 additions, 3 deletions...ithub.com/cortexproject/cortex/pkg/chunk/schema_config.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/series_store.go 47 additions, 28 deletions...github.com/cortexproject/cortex/pkg/chunk/series_store.go
- vendor/github.com/cortexproject/cortex/pkg/chunk/testutils/testutils.go 2 additions, 2 deletions...com/cortexproject/cortex/pkg/chunk/testutils/testutils.go
- vendor/github.com/cortexproject/cortex/pkg/ingester/client/client.go 1 addition, 0 deletions...ub.com/cortexproject/cortex/pkg/ingester/client/client.go
- vendor/github.com/cortexproject/cortex/pkg/ingester/index/index.go 76 additions, 103 deletions...thub.com/cortexproject/cortex/pkg/ingester/index/index.go
- vendor/github.com/cortexproject/cortex/pkg/ring/lifecycler.go 15 additions, 0 deletions...or/github.com/cortexproject/cortex/pkg/ring/lifecycler.go
Loading
Please register or sign in to comment