Package org.apache.kafka.common.metrics.stats
Provides methods of statistically aggregating metrics upon emission.
-
Interface Summary Interface Description Histogram.BinScheme An algorithm for determining the bin in which a value is to be placed as well as calculating the upper end of each bin. -
Class Summary Class Description Avg ASampledStat
that maintains a simple average over its samples.CumulativeCount A non-sampled version ofWindowedCount
maintained over all time.CumulativeSum An non-sampled cumulative total maintained over all time.Frequencies ACompoundStat
that represents a normalized distribution with aFrequency
metric for each bucketed value.Frequency Definition of a frequency metric used in aFrequencies
compound statistic.Histogram Histogram.ConstantBinScheme 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.Histogram.LinearBinScheme 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.Max ASampledStat
that gives the max over its samples.Meter A compound stat that includes a rate metric and a cumulative total metric.Min ASampledStat
that gives the min over its samples.Percentile Percentiles A compound stat that reports one or more percentilesRate The rate of the given quantity.SampledStat A SampledStat records a single scalar value measured over one or more samples.SimpleRate A simple rate the rate is incrementally calculated based on the elapsed time between the earliest reading and now.TokenBucket TheTokenBucket
is aMeasurableStat
implementing a token bucket algorithm that is usable within aSensor
.Value An instantaneous value.WindowedCount ASampledStat
that maintains a simple count of what it has seen.WindowedSum ASampledStat
that maintains the sum of what it has seen. -
Enum Summary Enum Description Percentiles.BucketSizing