Class PartitionHealthStats


  • public class PartitionHealthStats
    extends AbstractVeniceStats
    Resource level partition health stats.
    • Field Detail

      • UNDER_REPLICATED_PARTITION_SENSOR

        public static final java.lang.String UNDER_REPLICATED_PARTITION_SENSOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • PartitionHealthStats

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

        public PartitionHealthStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                    java.lang.String name,
                                    java.lang.String clusterName)
    • Method Detail

      • recordUnderReplicatePartition

        public void recordUnderReplicatePartition​(int num)