Class AggKafkaConsumerServiceStats

    • Constructor Detail

      • AggKafkaConsumerServiceStats

        public AggKafkaConsumerServiceStats​(java.lang.String regionName,
                                            io.tehuti.metrics.MetricsRepository metricsRepository,
                                            ReadOnlyStoreRepository metadataRepository,
                                            java.util.function.LongSupplier getMaxElapsedTimeSinceLastPollInConsumerPool,
                                            boolean isUnregisterMetricForDeletedStoreEnabled)
    • Method Detail

      • recordTotalConsumerIdleTime

        public void recordTotalConsumerIdleTime​(double idleTime)
      • recordTotalPollRequestLatency

        public void recordTotalPollRequestLatency​(double latency)
      • recordTotalNonZeroPollResultNum

        public void recordTotalNonZeroPollResultNum​(int count)
      • recordTotalConsumerRecordsProducingToWriterBufferLatency

        public void recordTotalConsumerRecordsProducingToWriterBufferLatency​(double latency)
      • recordTotalPollError

        public void recordTotalPollError()
      • recordTotalDetectedDeletedTopicNum

        public void recordTotalDetectedDeletedTopicNum​(int count)
      • recordTotalDetectedNoRunningIngestionTopicPartitionNum

        public void recordTotalDetectedNoRunningIngestionTopicPartitionNum​(int count)
      • recordTotalDelegateSubscribeLatency

        public void recordTotalDelegateSubscribeLatency​(double value)
      • recordTotalUpdateCurrentAssignmentLatency

        public void recordTotalUpdateCurrentAssignmentLatency​(double value)
      • recordTotalMinPartitionsPerConsumer

        public void recordTotalMinPartitionsPerConsumer​(int count)
      • recordTotalMaxPartitionsPerConsumer

        public void recordTotalMaxPartitionsPerConsumer​(int count)
      • recordTotalAvgPartitionsPerConsumer

        public void recordTotalAvgPartitionsPerConsumer​(int count)
      • recordTotalSubscribedPartitionsNum

        public void recordTotalSubscribedPartitionsNum​(int count)
      • recordTotalOffsetLagIsAbsent

        public void recordTotalOffsetLagIsAbsent()
      • recordTotalOffsetLagIsPresent

        public void recordTotalOffsetLagIsPresent()
      • recordTotalLatestOffsetIsAbsent

        public void recordTotalLatestOffsetIsAbsent()
      • recordTotalLatestOffsetIsPresent

        public void recordTotalLatestOffsetIsPresent()