-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Querier timeout when reaching ingesters #718
Comments
Sure? It looks like the Lines 135 to 136 in 1c95a5b
Lines 40 to 42 in 1c95a5b
But this one does include a timeout: loki/pkg/ingester/client/client.go Line 22 in 1c95a5b
And this timeout defaults to loki/pkg/ingester/client/client.go Line 31 in 1c95a5b
So did I miss another place where a timeout is required? |
I don't think this is used. But what is missing mostly is a query timeout for instance:
Line 129 in 1c95a5b
There is no timeout here but it should be there for most of queries type. (Not sure about tailing) |
@Kuqd I would be glad to pick from here and work on a PR. Few questions, please:
|
Yes please. 1 - Only via a config flag with a sane default. Thanks @pracucci |
Currently there is no timeout when doing GRPC between ingesters and querier.
This leads to the querier stacking and starving goroutines until it gets restarted.
It is only happening when ingesters are unresponsive.
We should have a timeout for that connection.
The text was updated successfully, but these errors were encountered: