-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Prometheus to use ReadRequest_STREAMED_XOR_CHUNKS when calling remote read API. #5926
Comments
I'd like to fix this issue 😃 @bwplotka Maybe we can solve this problem by following steps:
My initial idea is probably like this, any comments? @bwplotka Test is also needed and now I'm trying to figure out how to do it properly. |
Sorry for lag and thanks @YaoZengzeng Yes that makes sense to me 👍 I think step 2 would be the most work, especially packing SAMPLED method to For Streaming be careful as we might need to implement something like this we did in Thanos in SeriesSet. |
@bwplotka Thanks for your comments and I'll fix this issue step by step 😃 |
Sorry for massive lag, proposed solution (: Also reach me on IRC bwplotka or CNCF slack channel -> |
Hi @YaoZengzeng this would be nice to have (: Any progress? What are the blockers? 🤗 |
Hello @YaoZengzeng. If you're not going to continue this, can I please take your work forward? |
@Sudhar287 Yes, Please :) |
Thank you for the/your quick response. :) |
@Sudhar287 any update maybe? (: We kind of slowly need that for various tooling. (: If not I think it might be good Community Bridge issue. cc @khyatisoneji |
Wow, I think there is misunderstanding, I don't think anything is blocked and we can start working on it right way. |
I commented #6042 (comment) I don't think there was anything blocked... Sorry for confusion 🤦 We are definitely good to go. We kind of need this as we wrote on Thanos tool for serving CSV / JSON as some our API and we want to extend it to remote-read. Would be nice if we can chunks to Prometheus though 🤗 |
Thanks for the response and clarification. I'll start working on it! :) |
fyi, working on this actively. Will have the PR next week or so. :) |
Awesome! (((:
…On Thu, 28 May 2020 at 19:03, Sudhar287 ***@***.***> wrote:
fyi, working on this actively. Will have the PR next week or so. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5926 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVA3O5RQLK54J7EUIX2K33RT2RPHANCNFSM4INFY42A>
.
|
Hello there, I have an implementation ready for which I refactored to ReadClient as follows:
This also solves Is the sketched solution suitable for you? - If so, I will prepare a PR. |
It looks great @Tanemahuta, but we already have another PR #8351 (review) Maybe you can help us review it and maybe give your design as suggestions in the comments? 🤗 |
Will do. This changes the complete design and breaks the API though. |
@bwplotka any update? read STREAMED_XOR_CHUNKS response is important to reduce memory overhead and query latency:) |
Hi, any updates on this issue? |
#5703 extended remote read protocol and added
ReadRequest_STREAMED_XOR_CHUNKS
Prometheus implements remote read API, but it can also be configured to use/call other remote read API. Enable streaming remote read if the server supports it.
AC:
ReadRequest_STREAMED_XOR_CHUNKS
Similar client code for inspiration: thanos-io/thanos#1268
The text was updated successfully, but these errors were encountered: