Class HostHealthStats


  • public class HostHealthStats
    extends AbstractVeniceStats
    This class is used to monitor the various reasons for unhealthy hosts.
    • Constructor Detail

      • HostHealthStats

        public HostHealthStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                               java.lang.String name)
    • 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()