-
Notifications
You must be signed in to change notification settings - Fork 512
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
Add query sharding documentation #960
Conversation
cd5963e
to
e5f483a
Compare
@KMiller-Grafana is preparing a rewrite of this, so a review of grammar/spelling is most likely wasting time. It would be good though to get some feedback what content is missing |
Fixes #934 |
Co-authored-by: Karen Miller <karen.miller@grafana.com> Signed-off-by: Christian Simon <simon@swine.de>
f6a79fc
to
d85fca8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unblocking, and did not review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! I think it's a good starting point. I've left few comments I would be glad if you could take a look at.
@jdbaldry, @pracucci, and @KMiller-Grafana, let's ship this first version today and iterate in a subsequent technical review. |
@jdbaldry, let's re-order this so that it's in place for the next steps. @simonswine, I understand that doing so is exceptional and not a best practice, and we are doing this re-ordering as a one-off. |
@simonswine, we'll wait on a confirmation from you to move forward. |
Yes I have incorporated @pracucci's feedback, please go ahead |
@simonswine, feel free to commit @replay's suggestions since they are already there at our fingertips. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thank you
Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>
5aa9571
to
ae62270
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did a magnificent job! This doc is lovely and very clear (considered the topic complexity). I've left few comments I would be glad to see addressed before merging. Thanks!
@osg-grafana I will take another at this soon to incorporate Marcos feedback. Let me know if I shouldn't. |
Co-authored-by: Marco Pracucci <marco@pracucci.com>
@pracucci thank you for the suggestions. I have incorporated them and would like you to take another (final?) look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for patiently address my feedback. LGTM! (modulo few last nits)
Co-authored-by: Marco Pracucci <marco@pracucci.com>
@osg-grafana I think this PR would be ready to be merged from my point of view |
@simonswine could you fix the broken links, please?
|
|
Ship it! |
* Add query sharding documentation * Address review comments Co-authored-by: Karen Miller <karen.miller@grafana.com> Signed-off-by: Christian Simon <simon@swine.de> * Provide concrete example for shardable queries * Remove debugging header `Sharding-Control` * Remove outdated feature flag * Rewrite the steps necessary to configure query-sharding * Mention the need to raise -querier.max-query-paralleism * Prettify markdown * Apply suggestions from code review Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com> * Remove comments * Apply suggestions from code review Co-authored-by: Marco Pracucci <marco@pracucci.com> * Add example 3 to show flow of a query with 2 shardable portions. * Prettifier * Apply suggestions from code review Co-authored-by: Marco Pracucci <marco@pracucci.com> Co-authored-by: Karen Miller <karen.miller@grafana.com> Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com> Co-authored-by: Marco Pracucci <marco@pracucci.com>
What this PR does:
This adds some documentation for the query_range sharding.
The details how the query-sharding works involves quite a lot of understanding about how the query-frontend works in general. I hope I haven't made that too complicate.
Next steps:
I would really appreciate some feedback on the content the level of depth from @pracucci