feat(#5534): composite health and details#5540
Conversation
9f62763 to
6f88bd5
Compare
|
Nice @SteKoe. How does it look when a composite entry gets expanded? |
| --status-color: theme('colors.green.500'); | ||
| } | ||
| .status--down, | ||
| .status--offline, |
There was a problem hiding this comment.
offline was rendered as gray previously and it's still gray in the other views (e.g.: wallboard, homepage), so I would move this together with the unknown one.
|
I will dig into it further. This PR is just a first draft of a possible and better solution for displaying health information.
Yeah, I tried out both variants, too, and for now sticked to this approach. But UI is still in flux. I am not yet happy, either.
This already took some time, I will have to rethink how the UI may look like. |
|
Sounds good from my side. |
Demonstrates ExternalApiHealthIndicator, MessageBrokerHealthIndicator, and ExternalServicesHealthContributor (CompositeHealthContributor) wired via HealthContributorConfig. Uses the Spring Boot 4.x health API (org.springframework.boot.health.contributor).
Replace the flat dl/dd grid with status-colour-coded rows. Composite contributors render as collapsible section headers; children are indented below. All badges align to a shared left column (w-52). Label top-aligns with the badge on tall rows.
6f88bd5 to
49fb3b9
Compare




This pull request introduces a new sample for composite health contributors on the backend and refactors the frontend health panel for improved structure, styling, and accessibility. The main changes are grouped into backend additions for health contributors and frontend UI/UX improvements for health display.
Backend: Composite Health Contributor Sample
ExternalApiHealthIndicator,MessageBrokerHealthIndicator, andExternalServicesHealthContributor) to demonstrate grouping multiple health checks under a single/actuator/health/externalServicesendpoint. These are registered via a new configuration class (HealthContributorConfig). [1] [2] [3] [4]Frontend: Health Panel Refactor and Improvements
details-health.vueto introduce new layout and styling, including clear separation of component and group health checks, improved status color tokens, and a more accessible structure. [1] [2]health-details.vuecomponent to support composite contributors, collapsible sections, and improved detail rendering with new CSS classes for better readability and maintainability. [1] [2]These changes collectively provide a better developer and user experience for monitoring and displaying composite health checks in Spring Boot Admin.