Class AggHostLevelIngestionStats

All Implemented Interfaces:
StoreDataChangedListener

public class AggHostLevelIngestionStats extends AbstractVeniceAggStoreStats<HostLevelIngestionStats>
Aggregates host-level ingestion statistics across all stores. This class provides aggregate initialization and management support for HostLevelIngestionStats, enabling centralized tracking of ingestion metrics at the host level. It extends AbstractVeniceAggStoreStats to provide automatic aggregation across all stores on the host.
  • Constructor Details

    • AggHostLevelIngestionStats

      public AggHostLevelIngestionStats(io.tehuti.metrics.MetricsRepository metricsRepository, VeniceServerConfig serverConfig, Map<String,StoreIngestionTask> ingestionTaskMap, ReadOnlyStoreRepository metadataRepository, boolean unregisterMetricForDeletedStoreEnabled, Time time)
      Constructs an AggHostLevelIngestionStats instance.
      Parameters:
      metricsRepository - the metrics repository for recording statistics
      serverConfig - the Venice server configuration
      ingestionTaskMap - a map of store names to their corresponding ingestion tasks
      metadataRepository - the store metadata repository
      unregisterMetricForDeletedStoreEnabled - whether to unregister metrics when stores are deleted
      time - the time instance for timestamp operations