-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Query does not log undiscoverable store #2404
Comments
Agree, good point. 👍 Marking as bug, help wanted to fix it 🤗 |
Shall I go about solving this issue? |
yes please!
…On Mon, 20 Apr 2020 at 10:54, Yash Sharma ***@***.***> wrote:
Shall I go about solving this issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVA3O3WDKHRVEZSODKFONDRNQLWJANCNFSM4MENVUVA>
.
|
Great! I will hop on! 😛 |
Hey @bwplotka! I was going through the issue, and after reproducing it, I observed the following - |
Nice, so if it already logs an error.. what is the problem we are trying to solve then? (: |
So the error raised was from the resolver.go file, where it does the resolution of dns, but somehow that error is not propagated to the query component. So I think we need to propagate the error, as I didn't see any errors raised in the logs of query component. |
What do you mean no propagate? There is literally |
Yeah, when I ran the query component in my local machine, it did raise the error, but the same does not happen when I check the logs of query component in Kubernetes deployment. Let me attach the log. |
Nice! Maybe logger is not passed properly? |
I am attaching some info about the investigation that I did 😛 Config details passed to
Here is the log -
And here is the pods that I have deployed in minikube -
As we can see that |
I think that might be the reason, I am reading through the codebase now, and would comment my understanding of the possible issue 😅 |
Hello 👋 Looks like there was no activity on this issue for last 30 days. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
Thanos, Prometheus and Golang version used: v0.11.0
Object Storage Provider: GCS
What happened:
Specified Store and Sidecar storage endpoints on the command command line using DNS resolver. The Sidecar endpoint was incorrect. Query logged the addition of the Store endpoint, but nothing about the Sidecar endpoint. The Query
/stores
page shows only the Store endpoint.What you expected to happen:
Query logs an error regarding DNS resolution of the bad endpoint. The
/stores
page provides information about the unresolved endpoint.The text was updated successfully, but these errors were encountered: