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

Metrics endpoint returns internal server error if there are any certificate failures #355

Open
sboschman opened this issue Dec 6, 2024 · 0 comments
Assignees

Comments

@sboschman
Copy link

We run the latest version 3.17.0 and we notice that if there are any certificate failures the metrics endpoint throws an internal server error. Of course this means Prometheus is unable to scrape the pod.

Log:

level=INFO msg="Discovered and parsed certificates" certificates=22 failures=2

Exec into the pod:

/ $ wget localhost:9793
Connecting to localhost:9793 (127.0.0.1:9793)
wget: server returned error: HTTP/1.1 404 Not Found

/ $ wget localhost:9793/metrics
Connecting to localhost:9793 (127.0.0.1:9793)
wget: server returned error: HTTP/1.1 500 Internal Server Error

It seems to be a regression of #25 .

@npdgm npdgm self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants