Skip to content
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

make query-frontend service grpc lb friendly #8025

Merged

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
In PR #7966, I made changes to Query Frontend service. Part of it was creating a new service.
To make the service properly load balance grpc requests, we need to use grpclbServiceFor, but since we do not use grpc in QF, I went with the usual method, i.e. I used serviceFor. Thinking more about it, I think there is no harm in keeping it grpc LB friendly, and it would save us from any possible bugs if we make QF accept queries via grpc.

@sandeepsukhani sandeepsukhani requested a review from a team as a code owner January 2, 2023 07:53
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-target-branch/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

Copy link
Contributor

@kavirajk kavirajk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Does it need any upgrade guide entries?

@sandeepsukhani
Copy link
Contributor Author

Thanks for the review Kavi!

LGTM. Does it need any upgrade guide entries?

I have added it to the upgrade guide already in the previous PR.

@sandeepsukhani sandeepsukhani merged commit 3a8325d into grafana:main Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants