Class ClusterStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.fastclient.stats.ClusterStats
This class includes the metrics in the cluster-level.
So far it is per store.
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionClusterStats
(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName) -
Method Summary
Modifier and TypeMethodDescriptiongetMetricValues
(String sensorName, String... stats) void
recordBlockedInstanceCount
(int count) void
recordUnhealthyInstanceCount
(int count) void
void
updateCurrentVersion
(int currentVersion) 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
-
ClusterStats
-
-
Method Details
-
recordBlockedInstanceCount
public void recordBlockedInstanceCount(int count) -
recordUnhealthyInstanceCount
public void recordUnhealthyInstanceCount(int count) -
updateCurrentVersion
public void updateCurrentVersion(int currentVersion) -
recordVersionUpdateFailure
public void recordVersionUpdateFailure() -
getMetricValues
-