-
Notifications
You must be signed in to change notification settings - Fork 802
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
Feat/blocks grpc #1845
Feat/blocks grpc #1845
Conversation
5286293
to
9aa20ec
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.
Thanks @thorfour for the PR! I left a couple of high-level comments to better understand the rationale behind the design decisions. Without looking into it too much, I was expecting to reuse QueryStream()
and I would like to better understand if we really need to duplicate part of the logic introducing QueryTSDBStream
and a different response type.
009759a
to
6e6cd17
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.
This PR introduces an important piece to the TSDB puzzle. I'm not happy with all design decisions, but can understand why they were made. Overall, it looks good, but I've left some comments to consider before approving.
234bc15
to
e0f2e0a
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.
LGTM, thanks for your changes!
Please don't forget to update CHANGELOG as well.
9ba6a2e
to
feb5963
Compare
feb5963
to
38cade2
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.
Thanks @thorfour and @pstibrany for reworking the initial design. I think the current design is better than the initial one, but unfortunately doesn't look working (at least, querying ingesters always result into an empty result to me... see related comment in ingester_streaming_queryable.go
).
2d91ab4
to
93d95a2
Compare
474e535
to
b3e846b
Compare
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
b3e846b
to
dd32a60
Compare
I've rebased |
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 @thorfour for your work! I've pushed few changes to fix a couple of issues. I'm a bit concerned about the samples sorting performances, but let's move on and hopefully we'll get rid of this once we'll able to iterate chunks on TSDB 🤞
Sounds good to me |
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.
Still looks good.
2ab048f
to
e667242
Compare
Co-Authored-By: Marco Pracucci <marco@pracucci.com> Signed-off-by: Thor <8681572+thorfour@users.noreply.github.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Thor <thansen@digitalocean.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Thor <thansen@digitalocean.com>
e667242
to
de1ef2a
Compare
What this PR does: Implements gRPC streaming from TSDB based ingesters.
Which issue(s) this PR fixes:
Fixes #1824
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]