Description
Provide a way to selectively disable individual health checks with MP Config values.
Proposal:
microprofile.health.check."check-name".enabled=true/false
microprofile.health.check."check-class".enabled=true/false
Use cases
Disable health check without the need to remove the implementation. This is useful when the same application deploys in different environments. We can disable checks that are not required or potentially cause problems without recompiling the application. This can also mean that we can offer avoiding having two "versions" of the same application for different environments.
Another use case is testing when we might not have dependent services available or the provided mocked instances don't offer health checks.
Seamless A/B testing when moving to the new version/implementation of a particular health check.
Description
Provide a way to selectively disable individual health checks with MP Config values.
Proposal:
microprofile.health.check."check-name".enabled=true/false
microprofile.health.check."check-class".enabled=true/false
Use cases
Disable health check without the need to remove the implementation. This is useful when the same application deploys in different environments. We can disable checks that are not required or potentially cause problems without recompiling the application. This can also mean that we can offer avoiding having two "versions" of the same application for different environments.
Another use case is testing when we might not have dependent services available or the provided mocked instances don't offer health checks.
Seamless A/B testing when moving to the new version/implementation of a particular health check.