spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

Use liveness instead of /actuator/health

Open vgropp opened this issue 4 years ago • 1 comments

We are using /actuator/health/liveness in our kubernetes. We have services who include more/other Probes in /actuator/health so Spring Boot Admin does not show the actual up-state compared to kubernetes. I have found #1389 but it seems there was no progess. What about not only adding those endpoints in UI but using it for the status in https://github.com/codecentric/spring-boot-admin/blob/dfe2a4b493bb4670eec7b6bfd684787e2e208038/spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/services/StatusUpdater.java#L75 or is this the wrong place?

I guess this should be some sort of config, do you have any advice where/how to configure this behavior? I would use liveness only for status up/down

vgropp avatar Jan 12 '22 08:01 vgropp

Hi @vgropp,

we do not support configuring the Status URL of services, yet. We are checking how to implement this feature.

SteKoe avatar Jan 14 '22 07:01 SteKoe

fixed with https://github.com/codecentric/spring-boot-admin/pull/2765

andreasfritz avatar Sep 29 '23 08:09 andreasfritz