Class AggVersionedDIVStats

All Implemented Interfaces:
StoreDataChangedListener

public class AggVersionedDIVStats extends AbstractVeniceAggVersionedStats<DIVStats,DIVStatsReporter>
  • Constructor Details

    • AggVersionedDIVStats

      public AggVersionedDIVStats(io.tehuti.metrics.MetricsRepository metricsRepository, ReadOnlyStoreRepository metadataRepository, boolean unregisterMetricForDeletedStoreEnabled)
  • Method Details

    • recordException

      public void recordException(String storeName, int version, DataValidationException e)
    • recordDuplicateMsg

      public void recordDuplicateMsg(String storeName, int version)
    • recordMissingMsg

      public void recordMissingMsg(String storeName, int version)
    • recordCorruptedMsg

      public void recordCorruptedMsg(String storeName, int version)
    • recordSuccessMsg

      public void recordSuccessMsg(String storeName, int version)
    • recordBenignLeaderOffsetRewind

      public void recordBenignLeaderOffsetRewind(String storeName, int version)
    • recordPotentiallyLossyLeaderOffsetRewind

      public void recordPotentiallyLossyLeaderOffsetRewind(String storeName, int version)
    • recordLeaderProducerFailure

      public void recordLeaderProducerFailure(String storeName, int version)
    • recordBenignLeaderProducerFailure

      public void recordBenignLeaderProducerFailure(String storeName, int version)
    • updateTotalStats

      protected void updateTotalStats(String storeName)
      Description copied from class: AbstractVeniceAggVersionedStats
      Some versioned stats might always increasing; in this case, the value in the total stats should be updated with the aggregated values across the new version list.
      Overrides:
      updateTotalStats in class AbstractVeniceAggVersionedStats<DIVStats,DIVStatsReporter>