Class PushStatusCleanUpStats

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.pushmonitor.PushStatusCleanUpStats

public class PushStatusCleanUpStats extends AbstractVeniceStats
  • Constructor Details

    • PushStatusCleanUpStats

      public PushStatusCleanUpStats(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, String clusterName)
  • Method Details

    • recordLeakedPushStatusCount

      public void recordLeakedPushStatusCount(int count)
    • recordSuccessfulLeakedPushStatusCleanUpCount

      public void recordSuccessfulLeakedPushStatusCleanUpCount(int count)
    • recordFailedLeakedPushStatusCleanUpCount

      public void recordFailedLeakedPushStatusCleanUpCount(int count)
    • recordLeakedPushStatusCleanUpServiceState

      public void recordLeakedPushStatusCleanUpServiceState(PushStatusCleanUpServiceState state)
      3 possible metric values: 1: the leaked push status clean-up service is up and running 0: the leaked push status clean-up service is stopped gracefully or stopped by InterruptException -1: the leaked push status clean-up service crashes while the Venice service is still running