Package com.linkedin.venice.router.stats
Class HelixGroupStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.router.stats.HelixGroupStats
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getGroupResponseWaitingTimeAvg
(int groupId) void
recordGroupNum
(int groupNum) void
recordGroupPendingRequest
(int groupId, int pendingRequest) void
recordGroupRequest
(int groupId) void
recordGroupResponseWaitingTime
(int groupId, double responseWaitingTime) Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
HelixGroupStats
public HelixGroupStats(io.tehuti.metrics.MetricsRepository metricsRepository)
-
-
Method Details
-
recordGroupNum
public void recordGroupNum(int groupNum) -
recordGroupRequest
public void recordGroupRequest(int groupId) -
recordGroupPendingRequest
public void recordGroupPendingRequest(int groupId, int pendingRequest) -
recordGroupResponseWaitingTime
public void recordGroupResponseWaitingTime(int groupId, double responseWaitingTime) -
getGroupResponseWaitingTimeAvg
public double getGroupResponseWaitingTimeAvg(int groupId)
-