Class PartitionHealthStats

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.controller.stats.PartitionHealthStats

public class PartitionHealthStats extends AbstractVeniceStats
Resource level partition health stats. Tracks under-replicated partitions for a given version topic. Both Tehuti and OTel metrics are combined into a single MetricEntityStateBase, following the same pattern used in the router (e.g., RouterHttpRequestStats).

For OTel, the store name dimension is derived from the version topic name at construction time. Total stats instances (created by AbstractVeniceAggStats) have OTel disabled via OpenTelemetryMetricsSetup.Builder.isTotalStats(boolean).

  • Constructor Details

    • PartitionHealthStats

      public PartitionHealthStats(String resourceName)
      Only for test usage.
    • PartitionHealthStats

      public PartitionHealthStats(io.tehuti.metrics.MetricsRepository metricsRepository, String name, String clusterName)
  • Method Details

    • recordUnderReplicatePartition

      public void recordUnderReplicatePartition(int num)