Package com.linkedin.venice.router.stats
Class HostHealthStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.router.stats.HostHealthStats
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
ConstructorDescriptionHostHealthStats
(io.tehuti.metrics.MetricsRepository metricsRepository, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
recordPendingRequestCount
(long cnt) void
recordUnhealthyHostCountCausedByPendingQueue
(int count) void
void
void
void
void
void
recordUnhealthyPendingQueueDuration
(double duration) Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
HostHealthStats
-
-
Method Details
-
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()
-