Flush idle chunks properly (#209)
* Flush idle chunks properly Signed-off-by:Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Check the correct chunk is full before appending a new chunk. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Add the config to helm and ksonnet too. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
Showing
- cmd/loki/loki-local-config.yaml 2 additions, 1 deletioncmd/loki/loki-local-config.yaml
- pkg/ingester/flush.go 26 additions, 17 deletionspkg/ingester/flush.go
- pkg/ingester/flush_test.go 188 additions, 0 deletionspkg/ingester/flush_test.go
- pkg/ingester/ingester.go 9 additions, 2 deletionspkg/ingester/ingester.go
- pkg/ingester/stream.go 12 additions, 4 deletionspkg/ingester/stream.go
- production/helm/templates/loki/configmap.yaml 1 addition, 0 deletionsproduction/helm/templates/loki/configmap.yaml
- production/ksonnet/loki/config.libsonnet 2 additions, 0 deletionsproduction/ksonnet/loki/config.libsonnet
Loading
Please register or sign in to comment