This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* An extension of the Spring Boot Actuator health indicator. Implementing this abstract class will give you both a | |
* health check on /health, as well as a Prometheus metric representing the health check on /metrics (1 for up, 0 for | |
* down). | |
* <p> | |
* Note: Spring health indicators only run when /health is called. | |
*/ | |
abstract class HealthIndicatorWithMetric implements HealthIndicator { | |
private Logger log = LoggerFactory.getLogger(HealthIndicatorWithMetric.class); |