Class AggHostHealthStats

    • Constructor Detail

      • AggHostHealthStats

        public AggHostHealthStats​(java.lang.String clusterName,
                                  io.tehuti.metrics.MetricsRepository metricsRepository)
    • Method Detail

      • recordUnhealthyHostOfflineInstance

        public void recordUnhealthyHostOfflineInstance​(java.lang.String hostName)
      • recordUnhealthyHostTooManyPendingRequest

        public void recordUnhealthyHostTooManyPendingRequest​(java.lang.String hostName)
      • recordUnhealthyHostHeartBeatFailure

        public void recordUnhealthyHostHeartBeatFailure​(java.lang.String hostName)
      • recordPendingRequestCount

        public void recordPendingRequestCount​(java.lang.String hostName,
                                              long cnt)
      • recordLeakedPendingRequestCount

        public void recordLeakedPendingRequestCount​(java.lang.String hostName)
      • recordPendingRequestUnhealthyDuration

        public void recordPendingRequestUnhealthyDuration​(java.lang.String hostName,
                                                          double duration)
      • recordUnhealthyHostCountCausedByPendingQueue

        public void recordUnhealthyHostCountCausedByPendingQueue​(int count)
      • recordUnhealthyHostCountCausedByRouterHeartBeat

        public void recordUnhealthyHostCountCausedByRouterHeartBeat​(int count)
      • recordUnhealthyHostDelayJoin

        public void recordUnhealthyHostDelayJoin​(java.lang.String hostName)