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<java.lang.Number> |
getBatchSizeMeanMonitor(java.lang.String name) |
protected com.netflix.servo.monitor.Monitor<java.lang.Number> |
getBatchSizePercentileMonitor(java.lang.String name,
double percentile) |
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<java.lang.Number> |
getCumulativeMonitor(java.lang.String name,
com.netflix.hystrix.HystrixEventType.Collapser 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.monitor.Monitor<java.lang.Number> |
getRollingMonitor(java.lang.String name,
com.netflix.hystrix.HystrixEventType.Collapser event) |
protected com.netflix.servo.tag.Tag |
getServoInstanceTag() |
protected com.netflix.servo.tag.Tag |
getServoTypeTag() |
protected com.netflix.servo.monitor.Monitor<java.lang.Number> |
getShardSizeMeanMonitor(java.lang.String name) |
protected com.netflix.servo.monitor.Monitor<java.lang.Number> |
getShardSizePercentileMonitor(java.lang.String name,
double percentile) |
void |
initialize() |
protected com.netflix.servo.monitor.Monitor<java.lang.Number> |
safelyGetCumulativeMonitor(java.lang.String name,
rx.functions.Func0<com.netflix.hystrix.HystrixEventType.Collapser> eventThunk) |
protected com.netflix.servo.monitor.Monitor<java.lang.Number> |
safelyGetRollingMonitor(java.lang.String name,
rx.functions.Func0<com.netflix.hystrix.HystrixEventType.Collapser> eventThunk) |
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<java.lang.Number> getCumulativeMonitor(java.lang.String name,
com.netflix.hystrix.HystrixEventType.Collapser event)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> safelyGetCumulativeMonitor(java.lang.String name,
rx.functions.Func0<com.netflix.hystrix.HystrixEventType.Collapser> eventThunk)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> getRollingMonitor(java.lang.String name,
com.netflix.hystrix.HystrixEventType.Collapser event)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> safelyGetRollingMonitor(java.lang.String name,
rx.functions.Func0<com.netflix.hystrix.HystrixEventType.Collapser> eventThunk)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> getBatchSizeMeanMonitor(java.lang.String name)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> getBatchSizePercentileMonitor(java.lang.String name,
double percentile)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> getShardSizeMeanMonitor(java.lang.String name)
protected com.netflix.servo.monitor.Monitor<java.lang.Number> getShardSizePercentileMonitor(java.lang.String name,
double percentile)
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)