Class ClusterStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.fastclient.stats.ClusterStats
-
public class ClusterStats extends AbstractVeniceStats
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
Constructors Constructor Description ClusterStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Double>
getMetricValues(java.lang.String sensorName, java.lang.String... stats)
void
recordBlockedInstanceCount(int count)
void
recordUnhealthyInstanceCount(int count)
void
recordVersionUpdateFailure()
void
updateCurrentVersion(int currentVersion)
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
Method Detail
-
recordBlockedInstanceCount
public void recordBlockedInstanceCount(int count)
-
recordUnhealthyInstanceCount
public void recordUnhealthyInstanceCount(int count)
-
updateCurrentVersion
public void updateCurrentVersion(int currentVersion)
-
recordVersionUpdateFailure
public void recordVersionUpdateFailure()
-
getMetricValues
public java.util.List<java.lang.Double> getMetricValues(java.lang.String sensorName, java.lang.String... stats)
-
-