sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Add HealthIndicator to spring-boot library

Open osialr opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. I would like to monitor the state of Temporal Java SDK and workers through spring-boot-actuator's /health endpoint

Describe the solution you'd like In the temporal-spring-boot-autoconfigure-alpha project, create a HealthIndicator and AutoConfiguration that includes information on the connection, state of the workers, and anything else that could be of value for health.

Could use RabbitHealthIndicator and RabbitHealthContributorAutoConfiguration as an starting point.

Describe alternatives you've considered Split monitoring health of workers and temporal connection into separate health indicators

Additional context HealthIndicator allows external monitoring tools to check whether the application has entered a failed state and needs a restart.

osialr avatar Aug 14 '23 14:08 osialr