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

Error messages for DOWN targets #5354

Closed
thravu opened this Issue Mar 14, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@thravu
Copy link

thravu commented Mar 14, 2019

The targets page displays the error messages for DOWN targets. In case the response from the target endpoint is not StatusOK, it only shows the error message with the response code as "server returned HTTP status 500 Internal Server Error".

It would really help to also show the underlying error message that was returned by the exporter/endpoint as part of the response along with the status like "server returned HTTP status 500 Internal Server Error: An error has occurred during metrics gathering: Error connecting to target target.endpoint.com: Error establishing connection to host: dial udp: lookup target.endpoint.com on 192.168.0.0:1: no such host".

@thravu thravu closed this Mar 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.