Package com.linkedin.venice.router.stats
Class RouteHttpRequestStats
java.lang.Object
com.linkedin.venice.router.stats.RouteHttpRequestStats
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 Summary
ConstructorDescriptionRouteHttpRequestStats
(io.tehuti.metrics.MetricsRepository metricsRepository, StorageNodeClient storageNodeClient) -
Method Summary
Modifier and TypeMethodDescriptionlong
getPendingRequestCount
(String hostName) void
recordFinishedRequest
(String hostName) void
recordPendingRequest
(String hostName) void
recordUnhealthyQueueDuration
(String hostName, double duration)
-
Constructor Details
-
RouteHttpRequestStats
public RouteHttpRequestStats(io.tehuti.metrics.MetricsRepository metricsRepository, StorageNodeClient storageNodeClient)
-
-
Method Details
-
recordPendingRequest
-
recordFinishedRequest
-
recordUnhealthyQueueDuration
-
getPendingRequestCount
-