Package org.apache.kafka.common.metrics.stats
package org.apache.kafka.common.metrics.stats
Provides methods of statistically aggregating metrics upon emission.
-
ClassDescriptionA
SampledStatthat maintains a simple average over its samples.A non-sampled version ofWindowedCountmaintained over all time.An non-sampled cumulative total maintained over all time.ACompoundStatthat represents a normalized distribution with aFrequencymetric for each bucketed value.Definition of a frequency metric used in aFrequenciescompound statistic.An algorithm for determining the bin in which a value is to be placed as well as calculating the upper end of each bin.A scheme for calculating the bins where the width of each bin is a constant determined by the range of values and the number of bins.A scheme for calculating the bins where the width of each bin is one more than the previous bin, and therefore the bin widths are increasing at a linear rate.ASampledStatthat gives the max over its samples.A compound stat that includes a rate metric and a cumulative total metric.ASampledStatthat gives the min over its samples.A compound stat that reports one or more percentilesThe rate of the given quantity.A SampledStat records a single scalar value measured over one or more samples.A simple rate the rate is incrementally calculated based on the elapsed time between the earliest reading and now.TheTokenBucketis aMeasurableStatimplementing a token bucket algorithm that is usable within aSensor.An instantaneous value.ASampledStatthat maintains a simple count of what it has seen.ASampledStatthat maintains the sum of what it has seen.