Class RouteHttpRequestStats

java.lang.Object
com.linkedin.venice.router.stats.RouteHttpRequestStats

public class RouteHttpRequestStats extends Object
This class stores the stats for combined all type(SINGLE/MULTI/COMPUTE etc) of Router requests to the HttpAsync client compared to RouteHttpStats which stores only per type stats.
  • Constructor Details

    • RouteHttpRequestStats

      public RouteHttpRequestStats(io.tehuti.metrics.MetricsRepository metricsRepository, StorageNodeClient storageNodeClient)
  • Method Details

    • recordPendingRequest

      public void recordPendingRequest(String hostName)
    • recordFinishedRequest

      public void recordFinishedRequest(String hostName)
    • recordUnhealthyQueueDuration

      public void recordUnhealthyQueueDuration(String hostName, double duration)
    • getPendingRequestCount

      public long getPendingRequestCount(String hostName)