forked from grafana/loki
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't convert chunks to matrixes and then merges them... (grafana#713)
* Make chunk store return chunks; converting to series is now separate. - Refactor chunk store to return chunks. - Refactor querier package to use new Prometheus 2.0 interfaces. - Have separate querier for ingesters, chunk store and metadata. - Make remote read handler take a Queryable. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> * Simple query benchmark, using in-memory chunks, but running an acutal PromQL query. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> * Don't convert chunks to matrixes and then merges them; use iterators and the upstream heap-based merging code. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> * Optimise the ChunksToMatrix function. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> * Update prometheus to pull in 78efdc6d - Avoid infinite loop on duplicate NaN values Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> * Register query engine metrics. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> * Review feedback: clarify log message. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
- Loading branch information
Showing
4 changed files
with
26 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters