Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRemote read ReadResponse should allow for multiple queries #2574
Comments
brian-brazil
added
component/remote storage
kind/enhancement
labels
Apr 4, 2017
This comment has been minimized.
This comment has been minimized.
|
But multiple queries are fine to end up in the same range vector, no? The multiple queries are there so that we can request multiple label selector sets with different time ranges and all, but all we need as a result in the end is a list of all the time series with all their data points (which we have now). |
This comment has been minimized.
This comment has been minimized.
Consider the query |
This comment has been minimized.
This comment has been minimized.
|
So I guess you mean that in the end at https://sourcegraph.com/github.com/prometheus/prometheus@5f3327f620e3fd29bfc3770acd68d679d165d49c/-/blob/promql/engine.go#L584:1-591:1, it should only get the iterators for that (sub)query and not all the others. Ok yeah. |
This comment has been minimized.
This comment has been minimized.
|
For now we just need to adjust the proto, so this is possible in the future. |
This comment has been minimized.
This comment has been minimized.
|
|
brian-brazil
added a commit
that referenced
this issue
Apr 6, 2017
juliusv
closed this
in
#2588
Apr 6, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
brian-brazil commentedApr 4, 2017
The remote read proto currently allows for multiple queries to be made, in line with future expectations to bundle queries together.
However the response only allows for a single vector. We should add another level of list on top of what we have.
It'd be best to do this before 1.6.