Package com.linkedin.venice.stats
Class AggServerQuotaUsageStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceAggStats<ServerQuotaUsageStats>
-
- com.linkedin.venice.stats.AggServerQuotaUsageStats
-
public class AggServerQuotaUsageStats extends AbstractVeniceAggStats<ServerQuotaUsageStats>
AggServerQuotaUsageStats
is the aggregate statistics forServerQuotaUsageStats
which measures requests and quota rejections of each store.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceAggStats
STORE_NAME_FOR_TOTAL_STAT, storeStats, totalStats
-
-
Constructor Summary
Constructors Constructor Description AggServerQuotaUsageStats(io.tehuti.metrics.MetricsRepository metricsRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordAllowed(java.lang.String storeName, long rcu)
void
recordAllowedUnintentionally(java.lang.String storeName, long rcu)
void
recordRejected(java.lang.String storeName, long rcu)
void
setNodeQuotaResponsibility(java.lang.String storeName, long nodeQpsResponsibility)
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceAggStats
getStoreStats, getTotalStats, setStatsSupplier
-
-
-
-
Method Detail
-
recordAllowed
public void recordAllowed(java.lang.String storeName, long rcu)
-
recordRejected
public void recordRejected(java.lang.String storeName, long rcu)
-
recordAllowedUnintentionally
public void recordAllowedUnintentionally(java.lang.String storeName, long rcu)
-
setNodeQuotaResponsibility
public void setNodeQuotaResponsibility(java.lang.String storeName, long nodeQpsResponsibility)
-
-