We have been using Spring Boot for several projects now, We are using the latest version 1.2.3. We are incorporating Actuator. So far things are working well except we are f
The DataSourceHealthIndicator
is used to check availablity. The default query is SELECT 1
, but there are some product specific queries, too.
You can write your own HealthIndicator
. Either you implement the interface or extend the AbstractHealthIndicator
.
To disable the default db-health-check put this line into your application properties management.health.db.enabled=false
.
Hope that helps