Log health contributor statuses when Eureka health status changes - #4592
Merged
ryanjbaxter merged 2 commits intoSep 2, 2026
Merged
ryanjbaxter merged 2 commits into
ryanjbaxter merged 2 commits into
Conversation
Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>
ryanjbaxter
requested changes
Sep 2, 2026
Contributor
|
Why are you still aggregating status then in the other methods? |
Contributor
Author
|
The aggregation in getStatus is still required to determine the overall Eureka health status via StatusAggregator. The change only moves logging of each contributor's individual status into processContributor; the aggregated result remains necessary for computing the final overall status. |
ryanjbaxter
reviewed
Sep 2, 2026
Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>
yashdotdev13
force-pushed
the
issue-4135-log-health-contributor-status
branch
from
September 2, 2026 20:49
0e6f460 to
c9d9905
Compare
ryanjbaxter
added a commit
that referenced
this pull request
Sep 2, 2026
…ributor-status Log health contributor statuses when Eureka health status changes
Contributor
|
Cherry picked into 5.0.x as well |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds logging of individual health contributor statuses when the aggregated Eureka health status changes.
The health check handler now collects contributor names and their corresponding statuses while evaluating blocking and reactive health contributors. The collected statuses are included in the log message together with the resulting Eureka
InstanceStatus.Composite blocking and reactive health contributors continue to be traversed recursively, with their individual contributor names preserved.
Changes
InstanceStatus.Testing