Health endpoint

Hi,

I’m using the last keycloak version, configured to expose /health endpoint according to https://github.com/keycloak/keycloak-community/blob/49576b0f393907e2bc5a202f3c1e8d5354ded937/design/observerability.md

Example:
docker run -p 8080:8080 -p 9990:9990 KEYCLOAK_STATISTICS=all quay.io/keycloak/keycloak:12.0.4

I can access to http://localhost:9990/health endpoint fine, but if database is shutted down, this endpoint still showing → {“status”:“UP”,“checks” … ,“data”:{“value”:“running”}}

Is this a bug, or maybe i need to configure another thing ?
Thanks!

2 Likes