Package com.linkedin.davinci.stats
Class IngestionStatsReporter
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.davinci.stats.AbstractVeniceStatsReporter<IngestionStats>
com.linkedin.davinci.stats.IngestionStatsReporter
This class is the reporting class for stats class
IngestionStats
.
Metrics reporting logics are registered into MetricsRepository
here and send out to external metrics
collection/visualization system.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
Fields inherited from class com.linkedin.davinci.stats.AbstractVeniceStatsReporter
storeName
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionIngestionStatsReporter
(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, String clusterName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
registerLatencySensor
(String sensorBaseName, Function<IngestionStats, WritePathLatencySensor> sensorFunction) protected void
Methods inherited from class com.linkedin.davinci.stats.AbstractVeniceStatsReporter
getStats, setStats, unregisterStats
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
IngestionStatsReporter
-
-
Method Details
-
registerStats
protected void registerStats()- Specified by:
registerStats
in classAbstractVeniceStatsReporter<IngestionStats>
-
registerConditionalStats
protected void registerConditionalStats()- Overrides:
registerConditionalStats
in classAbstractVeniceStatsReporter<IngestionStats>
-
registerLatencySensor
protected void registerLatencySensor(String sensorBaseName, Function<IngestionStats, WritePathLatencySensor> sensorFunction)
-