@Configuration
@ConditionalOnClass(value={com.netflix.hystrix.Hystrix.class,org.springframework.boot.actuate.health.HealthIndicator.class})
@AutoConfigureAfter(value=org.springframework.boot.actuate.autoconfigure.health.HealthIndicatorAutoConfiguration.class)
public class HystrixAutoConfiguration
extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
HystrixAutoConfiguration.HystrixServletAutoConfiguration
See original
org.springframework.boot.actuate.autoconfigure.jolokia.JolokiaEndpointAutoConfiguration |
protected static class |
HystrixAutoConfiguration.HystrixWebfluxManagementContextConfiguration |
| Constructor and Description |
|---|
HystrixAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
HystrixHealthIndicator |
hystrixHealthIndicator() |
io.micrometer.core.instrument.binder.hystrix.HystrixMetricsBinder |
hystrixMetricsBinder() |
@Bean @ConditionalOnEnabledHealthIndicator(value="hystrix") public HystrixHealthIndicator hystrixHealthIndicator()
@Bean
@ConditionalOnProperty(value="management.metrics.hystrix.enabled",
matchIfMissing=true)
public io.micrometer.core.instrument.binder.hystrix.HystrixMetricsBinder hystrixMetricsBinder()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.