Package com.linkedin.davinci.stats
Class IsolatedIngestionProcessStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.davinci.stats.IsolatedIngestionProcessStats
IsolatedIngestionProcessStats is a metrics collecting class that aims to collect metrics from isolated ingestion process.
It maintains a map of String to Double to keep the collected metrics from forked process. updateMetricMap() will be called
by a dedicated thread which collects metrics from child process at a fixed rate.
Metrics collected will be registered to main process's MetricRepository and be reported to metrics reporters(like InGraph).
In order to distinguish the collected metrics from the main process metrics, prefix "ingestion_isolation" is added to every metric names.
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionIsolatedIngestionProcessStats
(io.tehuti.metrics.MetricsRepository metricsRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
updateMetricMap
(Map<CharSequence, Double> updateMetricValueMap) 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
-
IsolatedIngestionProcessStats
public IsolatedIngestionProcessStats(io.tehuti.metrics.MetricsRepository metricsRepository)
-
-
Method Details
-
updateMetricMap
-