killbill-admin-ui-standalone icon indicating copy to clipboard operation
killbill-admin-ui-standalone copied to clipboard

Application Healthcheck

Open SimonWoidig opened this issue 2 years ago • 4 comments

I was wondering, if there is some kind of an endpoint/command (/healthz, /up) I can run to get the health of the application. If not, could it be implemented? It would be handy for Kubernetes monitoring via probes.

Reference: https://edgeapi.rubyonrails.org/classes/Rails/HealthController.html

SimonWoidig avatar Dec 12 '23 15:12 SimonWoidig

I'm supportive. We've historically just used /users/sign_in but having a real healthcheck makes a lot of sense. Would you be able to submit a PR?

pierre avatar Dec 13 '23 08:12 pierre

I am afraid not. I am not really experienced in Ruby.

SimonWoidig avatar Dec 13 '23 08:12 SimonWoidig

Also would be nice, if the healthcheck contained the status of the connected killbill instance. But I guess it is not 100% required, since we can get the status from the killbill instance itself.

SimonWoidig avatar Dec 18 '23 15:12 SimonWoidig

The healthcheck could also return the current Kaui version.

pierre avatar Mar 27 '24 08:03 pierre

Fixed by https://github.com/killbill/killbill-admin-ui-standalone/pull/75.

image

pierre avatar May 10 '24 09:05 pierre