Class AggServerQuotaUsageStats


public class AggServerQuotaUsageStats extends AbstractVeniceAggStats<ServerReadQuotaUsageStats>
AggServerQuotaUsageStats is the aggregate statistics for ServerQuotaUsageStats which measures requests and quota rejections of each store.
  • Constructor Details

    • AggServerQuotaUsageStats

      public AggServerQuotaUsageStats(String cluster, io.tehuti.metrics.MetricsRepository metricsRepository)
  • Method Details

    • recordAllowed

      public void recordAllowed(String storeName, int version, long rcu)
    • recordRejected

      public void recordRejected(String storeName, int version, long rcu)
    • recordAllowedUnintentionally

      public void recordAllowedUnintentionally(String storeName, long rcu)
    • setNodeQuotaResponsibility

      public void setNodeQuotaResponsibility(String storeName, int version, long nodeKpsResponsibility)
    • setCurrentVersion

      public void setCurrentVersion(String storeName, int version)
    • setBackupVersion

      public void setBackupVersion(String storeName, int version)