@Component
public class HealthCheckMetricsAspect
extends java.lang.Object
| Constructor and Description | 
|---|
| HealthCheckMetricsAspect(com.netflix.spectator.api.Registry registry)Autowired constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | abstractHealthAggregatorAggregateDetailsMonitor(org.aspectj.lang.JoinPoint joinPoint)Intercept calls to the main AbstractHealthAggregator and publish counters for number of invocation and failures,
 tagged with status and indicator name. | 
| void | abstractHealthIndicatorDoHealthCheckMonitor(org.aspectj.lang.ProceedingJoinPoint joinPoint)Intercept call to AbstractHealthIndicator beans loaded and publish a timer tagged with error, if any. | 
| org.springframework.boot.actuate.health.Health | healthEndpointInvokeMonitor(org.aspectj.lang.ProceedingJoinPoint joinPoint)Intercept call to the Health endpoint publish a timer tagged with error, status. | 
| org.springframework.boot.actuate.health.Health | healthIndicatorHealthMonitor(org.aspectj.lang.ProceedingJoinPoint joinPoint)Intercept call to HealthIndicator beans loaded and publish a timer tagged with error, if any. | 
@Autowired public HealthCheckMetricsAspect(com.netflix.spectator.api.Registry registry)
registry - metrics registrypublic org.springframework.boot.actuate.health.Health healthEndpointInvokeMonitor(org.aspectj.lang.ProceedingJoinPoint joinPoint)
                                                                           throws java.lang.Throwable
joinPoint - joinPoint for the actual call to invoke()java.lang.Throwable - as thrown by joinPoint.proceed()public org.springframework.boot.actuate.health.Health healthIndicatorHealthMonitor(org.aspectj.lang.ProceedingJoinPoint joinPoint)
                                                                            throws java.lang.Throwable
joinPoint - joinPoint for the actual call to health()java.lang.Throwable - as thrown by joinPoint.proceed()public void abstractHealthIndicatorDoHealthCheckMonitor(org.aspectj.lang.ProceedingJoinPoint joinPoint)
                                                 throws java.lang.Throwable
joinPoint - joinPoint for the actual call to doHealthCheck()java.lang.Throwable - as thrown by joinPoint.proceed()public void abstractHealthAggregatorAggregateDetailsMonitor(org.aspectj.lang.JoinPoint joinPoint)
joinPoint - joinPoint for the aggregateDetails() call