Repository navigation
feat: Show the health of the resources Sveltos monitors - #201
Merged
gianlucam76 merged 1 commit intoOct 17, 2026
Merged
Conversation
Cluster and profile badges and an Unhealthy resources tab Adds the dashboard side of health monitoring, on top of /clusterHealth and the healthStatus fields in ui-backend. What it shows - Cluster badge. A health badge on each cluster card in the clusters list, with the worst status of everything reported for the cluster. Clicking it opens the cluster page on the new tab. No badge means nothing is monitored, never "healthy". - Profile health column. A Health column in the Profiles tab. A profile with unhealthy resources links to the new tab, already filtered by that profile. - Unhealthy resources tab. A new tab on the cluster page: a paginated table with group, version, kind, namespace, name, status, message and the owning profile. It lists resources from profiles with monitoring enabled first, then resources reported by any other HealthCheck, labelled HealthCheck: <name>. Filters are profile kind and name, and resource kind, namespace and name. - Empty states. The table says why it is empty (nothing monitored, no report yet, all healthy, or no match for the filters), so an empty table is never read as "all healthy". Supporting changes - The active tab of the cluster page and the Unhealthy resources filters now live in the URL, so the tab and the filtered list can be linked to. Leaving a tab clears its filters, so a profile filter does not follow the user back to the Profiles tab. - New helpers in src/utils, each with unit tests: addonTabs, clusterHealthPath, pickSearchParams and healthStatus. Strings added in en, fr and ar.
Member
Author
Member
Author
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.




Cluster and profile badges and an Unhealthy resources tab
Adds the dashboard side of health monitoring, on top of /clusterHealth and the healthStatus fields in ui-backend.
What it shows
Supporting changes