Package com.linkedin.venice.router.stats
Class HostHealthStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.router.stats.HostHealthStats
-
public class HostHealthStats extends AbstractVeniceStats
This class is used to monitor the various reasons for unhealthy hosts.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description HostHealthStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordLeakedPendingRequestCount()
void
recordPendingRequestCount(long cnt)
void
recordUnhealthyHostCountCausedByPendingQueue(int count)
void
recordUnhealthyHostCountCausedByRouterHeartBeat(int count)
void
recordUnhealthyHostDelayJoin()
void
recordUnhealthyHostHeartBeatFailure()
void
recordUnhealthyHostOfflineInstance()
void
recordUnhealthyHostTooManyPendingRequest()
void
recordUnhealthyPendingQueueDuration(double duration)
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
Method Detail
-
recordUnhealthyHostOfflineInstance
public void recordUnhealthyHostOfflineInstance()
-
recordUnhealthyHostTooManyPendingRequest
public void recordUnhealthyHostTooManyPendingRequest()
-
recordUnhealthyHostHeartBeatFailure
public void recordUnhealthyHostHeartBeatFailure()
-
recordPendingRequestCount
public void recordPendingRequestCount(long cnt)
-
recordLeakedPendingRequestCount
public void recordLeakedPendingRequestCount()
-
recordUnhealthyPendingQueueDuration
public void recordUnhealthyPendingQueueDuration(double duration)
-
recordUnhealthyHostCountCausedByPendingQueue
public void recordUnhealthyHostCountCausedByPendingQueue(int count)
-
recordUnhealthyHostCountCausedByRouterHeartBeat
public void recordUnhealthyHostCountCausedByRouterHeartBeat(int count)
-
recordUnhealthyHostDelayJoin
public void recordUnhealthyHostDelayJoin()
-
-