Package com.linkedin.venice.stats
Class AbstractVeniceAggStats<T extends AbstractVeniceStats>
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceAggStats<T>
- Direct Known Subclasses:
AbstractVeniceAggStoreStats
,AggHostHealthStats
,AggPartitionHealthStats
,AggRocksDBStats
,AggServerQuotaUsageStats
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractVeniceAggStats
(String clusterName, io.tehuti.metrics.MetricsRepository metricsRepository) AbstractVeniceAggStats
(String clusterName, io.tehuti.metrics.MetricsRepository metricsRepository, StatsSupplier<T> statsSupplier, boolean perClusterAggregate) clusterName is used to create per cluster aggregate stats andVeniceMetricsDimensions
If perClusterAggregate is true, it will create per cluster aggregates with storeName as "total." -
Method Summary
Modifier and TypeMethodDescriptiongetNullableStoreStats
(String storeName) getStoreStats
(String storeName) void
setStatsSupplier
(StatsSupplier<T> statsSupplier)
-
Field Details
-
STORE_NAME_FOR_TOTAL_STAT
- See Also:
-
totalStats
-
storeStats
-
-
Constructor Details
-
AbstractVeniceAggStats
public AbstractVeniceAggStats(String clusterName, io.tehuti.metrics.MetricsRepository metricsRepository) -
AbstractVeniceAggStats
public AbstractVeniceAggStats(String clusterName, io.tehuti.metrics.MetricsRepository metricsRepository, StatsSupplier<T> statsSupplier, boolean perClusterAggregate) clusterName is used to create per cluster aggregate stats andVeniceMetricsDimensions
If perClusterAggregate is true, it will create per cluster aggregates with storeName as "total."
-
-
Method Details
-
setStatsSupplier
-
getStoreStats
-
getNullableStoreStats
-
getTotalStats
-