public class HystrixServoMetricsPublisherCollapser
extends java.lang.Object
implements com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCollapser
HystrixMetricsPublisherCollapser using Servo (https://github.com/Netflix/servo)| Constructor and Description |
|---|
HystrixServoMetricsPublisherCollapser(com.netflix.hystrix.HystrixCollapserKey threadPoolKey,
com.netflix.hystrix.HystrixCollapserMetrics metrics,
com.netflix.hystrix.HystrixCollapserProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected com.netflix.servo.monitor.Monitor<?> |
getCumulativeCountForEvent(java.lang.String name,
com.netflix.hystrix.HystrixMetrics metrics,
com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
protected com.netflix.servo.monitor.Monitor<?> |
getRollingCountForEvent(java.lang.String name,
com.netflix.hystrix.HystrixMetrics metrics,
com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
protected com.netflix.servo.tag.Tag |
getServoInstanceTag() |
protected com.netflix.servo.tag.Tag |
getServoTypeTag() |
void |
initialize() |
public HystrixServoMetricsPublisherCollapser(com.netflix.hystrix.HystrixCollapserKey threadPoolKey,
com.netflix.hystrix.HystrixCollapserMetrics metrics,
com.netflix.hystrix.HystrixCollapserProperties properties)
public void initialize()
initialize in interface com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCollapserprotected com.netflix.servo.tag.Tag getServoTypeTag()
protected com.netflix.servo.tag.Tag getServoInstanceTag()
protected com.netflix.servo.monitor.Monitor<?> getCumulativeCountForEvent(java.lang.String name,
com.netflix.hystrix.HystrixMetrics metrics,
com.netflix.hystrix.util.HystrixRollingNumberEvent event)
protected com.netflix.servo.monitor.Monitor<?> getRollingCountForEvent(java.lang.String name,
com.netflix.hystrix.HystrixMetrics metrics,
com.netflix.hystrix.util.HystrixRollingNumberEvent event)