-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Allow exclusion of health indicators from status rollup #10550
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
Comments
I understand the desire here, but I'm worried that optional health indicators might make the system generally harder to understand. For example, the status page might show that an indicator is down, but still return an overall health of OK. The As of Spring Boot 2.0 we've actually split the |
I've flagged this for team attention to see if anyone else has an opinion. |
#3441 is somewhat similar to this. |
I am inclined to agree with @philwebb on this one. I think this could be implemented using a custom |
Agreed. @fitzoh please give the custom |
We've been having intermittent issues with
spring-cloud-config-server
. When our config server is down, the config server health check returns a status ofDOWN
, which in turn marks the entire application asDOWN
, even though the application is still functional.While we could just disable the health check, we would like to include it in the full health endpoint response to make monitoring easier.
It would be nice if individual health checks could be configured as optional so that they are excluded from the overall status rollup, but included in the full response.
Alternatives
I asked about this on the spring boot gitter channel, and @snicoll recommended using custom statuses.
I looked into this a bit, and there appear to be a couple issues with this approach:
DEGRADED
when elasticsearch was unavailable. The custom health indicator would be unintuitive, as it would have to return an application level status (DEGRADED
) when the component it's monitoring isDOWN
.The text was updated successfully, but these errors were encountered: