Class ParticipantStoreConsumptionStats

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.davinci.stats.ParticipantStoreConsumptionStats

public class ParticipantStoreConsumptionStats extends AbstractVeniceStats
  • Constructor Details

    • ParticipantStoreConsumptionStats

      public ParticipantStoreConsumptionStats(io.tehuti.metrics.MetricsRepository metricsRepository, String clusterName)
      Parameters:
      clusterName - the cluster that this server belongs to. Used as the VENICE_CLUSTER_NAME base dimension on all OTel metrics and as the Tehuti sensor name prefix.
  • Method Details

    • recordKillPushJobLatency

      public void recordKillPushJobLatency(String storeName, double latencyInMs)
      Records the latency in ms from when the kill signal was generated in the child controller to when the kill is performed on the storage node.
    • recordKilledPushJobs

      public void recordKilledPushJobs(String storeName)
      Records a successful push job kill on the storage node. Tehuti + OTel (SUCCESS).
    • recordFailedKillPushJob

      public void recordFailedKillPushJob(String storeName)
      Records a push job kill attempt that failed (killConsumptionTask returned false). OTel-only (FAIL).
    • recordFailedInitialization

      public void recordFailedInitialization()
    • recordKillPushJobFailedConsumption

      public void recordKillPushJobFailedConsumption(String storeName)
      Records an exception thrown during consumption of the participant store, specifically for KillPushJob records.
    • recordHeartbeat

      public void recordHeartbeat()