Closed yacine-1 closed 4 months ago
Hello there,
Do you know whether this is fixed with the v2 rework?
Thanks! 🙏
Hi @sipr-invivo, it's not yet, however I will take care of it next week !
@ptitFicus Awesome, glad to hear that, thanks!
Hi,
I just released 2.4.2 that provides database health status information in health endpoint.
I didn't update swagger yet (I forgot :s), however the idea is that the "database" field from response payload is true while database is reachable, and false otherwise. Morever endpoint will return 500 if database is not healthy.
Let me know if you need anything else !
Best regards
It took me a long time to detect that the database connection was broken while frontend was working fine and the argocd deployment was healthy.
As mentioned in #153, I need a health endpoint to check if the backend and the database connection are ok (and optionally the version tag) without authentication.
When connected, api/_health endpoint returns "{}" but this information is not enough.
The documentation is not clear about this...