management.health.mail.enabled management.health.mongo.enabled management.health.redis.enabled management.health.solr.enabled management.health.elasticsearch.enabled
The code customizes the health check path/actuator/health
But when the actual request is made If it cannot reach your own code,
will be intercepted by the filter. After interception, the health check of calling es will fail, and 503
application. In yaml
management
##endpoints
exposure
exclude: health
The above is the detailed content of How to disable a certain health check in springboot. For more information, please follow other related articles on the PHP Chinese website!