Class ClusterRouteStats.RouteStats

    • Constructor Detail

      • RouteStats

        public RouteStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                          java.lang.String clusterName,
                          java.lang.String instanceName,
                          RequestType requestType)
    • Method Detail

      • recordRequest

        public void recordRequest()
      • recordResponseWaitingTime

        public void recordResponseWaitingTime​(double latency)
      • recordHealthyRequest

        public void recordHealthyRequest()
      • recordQuotaExceededRequest

        public void recordQuotaExceededRequest()
      • recordInternalServerErrorRequest

        public void recordInternalServerErrorRequest()
      • recordServiceUnavailableRequest

        public void recordServiceUnavailableRequest()
      • recordLeakedRequest

        public void recordLeakedRequest()
      • recordOtherErrorRequest

        public void recordOtherErrorRequest()