Validate health group includes and excludes

Closes gh-34360
This commit is contained in:
Andy Wilkinson
2023-04-18 14:53:22 +01:00
parent a03fe8befc
commit c55d398f95
4 changed files with 141 additions and 0 deletions

View File

@@ -789,6 +789,9 @@ Similarly, to create a group that excludes the database indicators from the grou
exclude: "db"
----
By default, startup will fail if a health group includes or excludes a health indicator that does not exist.
To disable this behavior set configprop:management.endpoint.health.validate-group-membership[] to `false`.
By default, groups inherit the same `StatusAggregator` and `HttpCodeStatusMapper` settings as the system health.
However, you can also define these on a per-group basis.
You can also override the `show-details` and `roles` properties if required: