Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8696

Clean up Sum/Count/Total metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      Kafka has a family of metrics consisting of:

      org.apache.kafka.common.metrics.stats.Count
      org.apache.kafka.common.metrics.stats.Sum
      org.apache.kafka.common.metrics.stats.Total
      org.apache.kafka.common.metrics.stats.Rate.SampledTotal
      org.apache.kafka.streams.processor.internals.metrics.CumulativeCount
      These metrics are all related to each other, but their relationship is obscure (and one is redundant) (and another is internal).

      I've recently been involved in a third recapitulation of trying to work out which metric does what. It seems like it's time to clean up the mess and save everyone from having to work out the mystery for themselves.

      I've proposed https://cwiki.apache.org/confluence/x/kkAyBw to fix it.

      Attachments

        Issue Links

          Activity

            People

              vvcephei John Roesler
              vvcephei John Roesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: