-
Couldn't load subscription status.
- Fork 41.6k
Description
As of 2.2.0, Spring Boot introduced HealthEndpointGroups for grouping subsets of health indicators under a single name and correlating their status. Right now groups are driven only by configuration properties and auto-configuration; there is no way to programmatically/conditionally add new groups.
This issue aims at introducing an HealthEndpointGroupsRegistry interface that can be mutated by HealthEndpointGroupsRegistryCustomizer components (for looking into the registry, adding and deleting groups).
This infrastructure is required by #19593, since we want to automatically add"liveness" and "readiness" health groups if they are not already defined by the application.