-
Notifications
You must be signed in to change notification settings - Fork 112
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
Support for exposing /metrics and /healthz? #98
Comments
No, we currently don't provide either of those endpoints. What sort of metrics would you want to get from a prometheus endpoint? |
Hi @mikkeloscar, I would like to get error counts within the controller so I can set up alerts accordingly. |
I guess it can make sense to report errors, e.g. if a collector is not working you could figure it out. maybe just a bit hard to distinguish between user configuration errors and actual errors in some cases. PRs for adding such a metric endpoint would be welcome. Regarding the health endpoint I'm not sure under which condition it would make sense to kill the container. Unlike external-dns, this is an active HTTP server so it definitely shouldn't have a separate listener for |
Thanks for the detailed explanation @mikkeloscar. So if I set up a probe with https scheme to target the main listener i'm good to go? |
We didn't run with either in production for a year or so now, and we didn't have issues related to this thus far, so I can't recommend on either as I don't know what the benefit would be :) |
Hi,
Does kube-metrics-adapter exposes its own metrics with a prometheus client? Does it expose an endpoint for health checks using kubernetes probes?
Thanks
The text was updated successfully, but these errors were encountered: