Package com.linkedin.davinci.stats
Class DIVStatsReporter
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.davinci.stats.AbstractVeniceStatsReporter<DIVStats>
-
- com.linkedin.davinci.stats.DIVStatsReporter
-
public class DIVStatsReporter extends AbstractVeniceStatsReporter<DIVStats>
This class is the reporting class for stats classDIVStats
. Metrics reporting logics are registered intoMetricsRepository
here and send out to external metrics collection/visualization system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
DIVStatsReporter.DIVStatsGauge
-
Field Summary
-
Fields inherited from class com.linkedin.davinci.stats.AbstractVeniceStatsReporter
storeName
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description DIVStatsReporter(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
registerLatencySensor(java.lang.String sensorBaseName, java.util.function.Function<DIVStats,WritePathLatencySensor> sensorFunction)
protected void
registerStats()
-
Methods inherited from class com.linkedin.davinci.stats.AbstractVeniceStatsReporter
getStats, registerConditionalStats, setStats, unregisterStats
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
Method Detail
-
registerStats
protected void registerStats()
- Specified by:
registerStats
in classAbstractVeniceStatsReporter<DIVStats>
-
registerLatencySensor
protected void registerLatencySensor(java.lang.String sensorBaseName, java.util.function.Function<DIVStats,WritePathLatencySensor> sensorFunction)
-
-