codecentric / codecentric/spring-boot-admin
Bug: Composite health contributors' details are not shown
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.9k
- Forks
- 3.1k
- Avg merge
- 19h 1m
- Merged PRs (30d)
- 61
Description
Hello.
I discovered this bug while working on https://github.com/codecentric/spring-boot-admin/issues/5525 and, while we don't use (so far) composite health contributors and therefore it's not an issue for us, I decided to report this to improve the product.
Bug: If some health contributors are of type CompositeHealthContributor, the UI shows the contained contributors as separate health contributors (arguable, but out of scope here) but the details that they carry are not rendered and only their status is shown.
An example can be seen in the screenshot attached in https://github.com/codecentric/spring-boot-admin/pull/5526.
The discoveryComposite is a composite health contributor which contains the discoveryClient contributor.
For both, no details are shown even if the JSON returned by the /actuator/health call indicates there are 3 available items (the discoveryClient contributor itself plus 2 additional details).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the UI rendering with the JSON returned by the /actuator/health endpoint, focusing on CompositeHealthContributor and the discoveryComposite/discoveryClient example described in the issue. Done means the details for composite contributors are rendered in the UI rather than only their statuses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- frontend, observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100