Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upError messages for DOWN targets #5354
Comments
thravu
closed this
Mar 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thravu commentedMar 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".