codecentric / codecentric/spring-boot-admin

Bug: Composite health contributors' details are not shown

Open
#5,534 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.