Commit 3fb26f69 by Spencer Gibb

Add ability to disable hystrix metrics

fixes gh-781
parent 0b9fc290
......@@ -86,6 +86,7 @@ public class HystrixCircuitBreakerConfiguration {
}
@Configuration
@ConditionalOnProperty(value = "hystrix.metrics.enabled", matchIfMissing = true)
@ConditionalOnClass({ HystrixMetricsPoller.class, GaugeService.class })
protected static class HystrixMetricsPollerConfiguration implements SmartLifecycle {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment