Class ClusterRouteStats.RouteStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.stats.AbstractVeniceHttpStats
-
- com.linkedin.venice.fastclient.stats.ClusterRouteStats.RouteStats
-
- Enclosing class:
- ClusterRouteStats
public static class ClusterRouteStats.RouteStats extends AbstractVeniceHttpStats
Per-route request metrics.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description RouteStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String clusterName, java.lang.String instanceName, RequestType requestType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordHealthyRequest()
void
recordInternalServerErrorRequest()
void
recordLeakedRequest()
void
recordOtherErrorRequest()
void
recordQuotaExceededRequest()
void
recordRequest()
void
recordResponseWaitingTime(double latency)
void
recordServiceUnavailableRequest()
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceHttpStats
getFullMetricName, getRequestType, registerSensor, registerSensor, registerSensor, registerSensorWithDetailedPercentiles
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
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()
-
-