public class HystrixServoMetricsPublisherCommand
extends java.lang.Object
implements com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCommand
HystrixMetricsPublisherCommand using Servo (https://github.com/Netflix/servo)| Constructor and Description |
|---|
HystrixServoMetricsPublisherCommand(com.netflix.hystrix.HystrixCommandKey commandKey,
com.netflix.hystrix.HystrixCommandGroupKey commandGroupKey,
com.netflix.hystrix.HystrixCommandMetrics metrics,
com.netflix.hystrix.HystrixCircuitBreaker circuitBreaker,
com.netflix.hystrix.HystrixCommandProperties 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 HystrixServoMetricsPublisherCommand(com.netflix.hystrix.HystrixCommandKey commandKey,
com.netflix.hystrix.HystrixCommandGroupKey commandGroupKey,
com.netflix.hystrix.HystrixCommandMetrics metrics,
com.netflix.hystrix.HystrixCircuitBreaker circuitBreaker,
com.netflix.hystrix.HystrixCommandProperties properties)
public void initialize()
initialize in interface com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCommandprotected 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)