Package com.linkedin.davinci.stats
Class AggVersionedDIVStats
java.lang.Object
com.linkedin.davinci.stats.AbstractVeniceAggVersionedStats<DIVStats,DIVStatsReporter>
com.linkedin.davinci.stats.AggVersionedDIVStats
- All Implemented Interfaces:
StoreDataChangedListener
public class AggVersionedDIVStats
extends AbstractVeniceAggVersionedStats<DIVStats,DIVStatsReporter>
-
Field Summary
Fields inherited from class com.linkedin.davinci.stats.AbstractVeniceAggVersionedStats
metadataRepository
-
Constructor Summary
ConstructorDescriptionAggVersionedDIVStats
(io.tehuti.metrics.MetricsRepository metricsRepository, ReadOnlyStoreRepository metadataRepository, boolean unregisterMetricForDeletedStoreEnabled) -
Method Summary
Modifier and TypeMethodDescriptionvoid
recordBenignLeaderOffsetRewind
(String storeName, int version) void
recordBenignLeaderProducerFailure
(String storeName, int version) void
recordCorruptedMsg
(String storeName, int version) void
recordDuplicateMsg
(String storeName, int version) void
recordException
(String storeName, int version, DataValidationException e) void
recordLeaderProducerFailure
(String storeName, int version) void
recordMissingMsg
(String storeName, int version) void
recordPotentiallyLossyLeaderOffsetRewind
(String storeName, int version) void
recordSuccessMsg
(String storeName, int version) protected void
updateTotalStats
(String storeName) 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.Methods inherited from class com.linkedin.davinci.stats.AbstractVeniceAggVersionedStats
addStore, getCurrentVersion, getFutureVersion, getStats, getTotalStats, handleStoreChanged, handleStoreCreated, handleStoreDeleted, isFutureVersion, loadAllStats, recordVersionedAndTotalStat, registerConditionalStats, updateStatsVersionInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.linkedin.venice.meta.StoreDataChangedListener
handleStoreDeleted
-
Constructor Details
-
AggVersionedDIVStats
public AggVersionedDIVStats(io.tehuti.metrics.MetricsRepository metricsRepository, ReadOnlyStoreRepository metadataRepository, boolean unregisterMetricForDeletedStoreEnabled)
-
-
Method Details
-
recordException
-
recordDuplicateMsg
-
recordMissingMsg
-
recordCorruptedMsg
-
recordSuccessMsg
-
recordBenignLeaderOffsetRewind
-
recordPotentiallyLossyLeaderOffsetRewind
-
recordLeaderProducerFailure
-
recordBenignLeaderProducerFailure
-
updateTotalStats
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 classAbstractVeniceAggVersionedStats<DIVStats,
DIVStatsReporter>
-