Search code examples
springspring-bootspring-cloudspring-boot-actuator

How can I disable the refreshScope health indicator in spring boot + cloud?


I've disabled the config server health indicator with health.config.enabled=false but that isn't disabling the refreshScope health indicator.

Actuator health check response


Solution

  • Use:

    management.health.refresh.enabled=false