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
Per-route request metrics.
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionRouteStats
(io.tehuti.metrics.MetricsRepository metricsRepository, String clusterName, String instanceName, RequestType requestType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
recordResponseWaitingTime
(double latency) void
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, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
RouteStats
public RouteStats(io.tehuti.metrics.MetricsRepository metricsRepository, String clusterName, String instanceName, RequestType requestType)
-
-
Method Details
-
recordRequest
public void recordRequest() -
recordResponseWaitingTime
public void recordResponseWaitingTime(double latency) -
recordHealthyRequest
public void recordHealthyRequest() -
recordQuotaExceededRequest
public void recordQuotaExceededRequest() -
recordInternalServerErrorRequest
public void recordInternalServerErrorRequest() -
recordLeakedRequest
public void recordLeakedRequest() -
recordOtherErrorRequest
public void recordOtherErrorRequest()
-