Package com.linkedin.davinci.stats
Class ParticipantStoreConsumptionStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.davinci.stats.ParticipantStoreConsumptionStats
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER -
Constructor Summary
ConstructorsConstructorDescriptionParticipantStoreConsumptionStats(io.tehuti.metrics.MetricsRepository metricsRepository, String clusterName) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidrecordFailedKillPushJob(String storeName) Records a push job kill attempt that failed (killConsumptionTaskreturned false).voidvoidrecordKilledPushJobs(String storeName) Records a successful push job kill on the storage node.voidrecordKillPushJobFailedConsumption(String storeName) Records an exception thrown during consumption of the participant store, specifically forKillPushJobrecords.voidrecordKillPushJobLatency(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.Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotal, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
ParticipantStoreConsumptionStats
public ParticipantStoreConsumptionStats(io.tehuti.metrics.MetricsRepository metricsRepository, String clusterName) - Parameters:
clusterName- the cluster that this server belongs to. Used as theVENICE_CLUSTER_NAMEbase dimension on all OTel metrics and as the Tehuti sensor name prefix.
-
-
Method Details
-
recordKillPushJobLatency
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
Records a successful push job kill on the storage node. Tehuti + OTel (SUCCESS). -
recordFailedKillPushJob
Records a push job kill attempt that failed (killConsumptionTaskreturned false). OTel-only (FAIL). -
recordFailedInitialization
public void recordFailedInitialization() -
recordKillPushJobFailedConsumption
Records an exception thrown during consumption of the participant store, specifically forKillPushJobrecords. -
recordHeartbeat
public void recordHeartbeat()
-