Skip to content
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

Log health contributor status when overall eureka health status changed #4135

Open
kzwang opened this issue Nov 10, 2022 · 0 comments
Open

Comments

@kzwang
Copy link

kzwang commented Nov 10, 2022

Is your feature request related to a problem? Please describe.
When 1 health contributor report it's DOWN, it will cause the overall eureka health status for that instance to be DOWN. If we look at the health actuator endpoint while the instance is DOWN, we can see which health contributor caused it to go down. However, if it recovered quickly, from logs we only know the instance changed from UP to DOWN, but we don't know which health contributor caused it unless there are logs or errors from that particular health contributor.

Describe the solution you'd like
We don't have to log the status of each health contributor for every health check, but if it caused a status change, it would be nice to log which one caused that change.

Describe alternatives you've considered
Make sure all health contributors log status changes, however, there are a lot of health contributors both from OSS in different projects, and internal ones, it's hard to make sure all health contributors have consistent logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants