Package com.linkedin.venice.client.stats
Class ClientStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.stats.AbstractVeniceHttpStats
-
- com.linkedin.venice.client.stats.BasicClientStats
-
- com.linkedin.venice.client.stats.ClientStats
-
- Direct Known Subclasses:
FastClientStats
public class ClientStats extends BasicClientStats
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClientStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, RequestType requestType)
-
Method Summary
-
Methods inherited from class com.linkedin.venice.client.stats.BasicClientStats
getRequestRate, getSuccessRequestKeyCountRate, recordHealthyLatency, recordHealthyRequest, recordRequestKeyCount, recordSuccessRequestKeyCount, recordUnhealthyRequest
-
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
-
ClientStats
protected ClientStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, RequestType requestType)
-
-
Method Detail
-
getClientStats
public static ClientStats getClientStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, RequestType requestType, ClientConfig clientConfig)
-
recordHttpRequest
public void recordHttpRequest(int httpStatus)
-
recordUnhealthyLatency
public void recordUnhealthyLatency(double latency)
-
recordRequestRetryCount
public void recordRequestRetryCount()
-
recordSuccessDuplicateRequestKeyCount
public void recordSuccessDuplicateRequestKeyCount(int duplicateKeyCount)
-
recordRequestSerializationTime
public void recordRequestSerializationTime(double latency)
-
recordRequestSubmissionToResponseHandlingTime
public void recordRequestSubmissionToResponseHandlingTime(double latency)
-
recordResponseDeserializationTime
public void recordResponseDeserializationTime(double latency)
-
recordResponseDecompressionTime
public void recordResponseDecompressionTime(double latency)
-
recordStreamingResponseTimeToReceiveFirstRecord
public void recordStreamingResponseTimeToReceiveFirstRecord(double latency)
-
recordStreamingResponseTimeToReceive50PctRecord
public void recordStreamingResponseTimeToReceive50PctRecord(double latency)
-
recordStreamingResponseTimeToReceive90PctRecord
public void recordStreamingResponseTimeToReceive90PctRecord(double latency)
-
recordStreamingResponseTimeToReceive95PctRecord
public void recordStreamingResponseTimeToReceive95PctRecord(double latency)
-
recordStreamingResponseTimeToReceive99PctRecord
public void recordStreamingResponseTimeToReceive99PctRecord(double latency)
-
recordAppTimedOutRequest
public void recordAppTimedOutRequest()
-
recordAppTimedOutRequestResultRatio
public void recordAppTimedOutRequestResultRatio(double ratio)
-
recordClientFutureTimeout
public void recordClientFutureTimeout(long clientFutureTimeout)
-
recordRetryRequestKeyCount
public void recordRetryRequestKeyCount(int numberOfKeysSentInRetryRequest)
-
recordRetryRequestSuccessKeyCount
public void recordRetryRequestSuccessKeyCount(int numberOfKeysCompletedInRetryRequest)
-
recordMultiGetFallback
public void recordMultiGetFallback(int keyCount)
-
-