-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Not specifying query-frontend downstream URL doesn't log any error #1863
Comments
If there is no downstream URL, cortex by default configures GRPC Roundtrip. I am not sure how that flow works with Cortex. Is loki expected to behave same way? Am I missing something? |
Yes by default it uses GRPC unless you provide that downstream URL. For sure we could warn the users if there is no connected GRPC client ready to process item in the frontend queue. But that's more work for Cortex. |
Thanks @cyriltovena . Yeah, it would be good to warn user. So, he will be aware of what is not configured |
More explicitly, the query frontend operates in one of two fashions:
|
I was trying to figure out how GRPC thing works without providing any address to connect to 😉. I couldn't get any thing. Now it's clear to me Thanks @owen-d |
Describe the bug
If we don't specify frontend-downstream URL, there is no error logged. When we try to send any request to query-frontend, the request hangs and there is no error returned to client.
To Reproduce
Steps to reproduce the behavior:
query-fronted
without specifyingfrontend.downstream-url
Expected behavior
Error returned to client
/cc @cyriltovena
The text was updated successfully, but these errors were encountered: