Package org.apache.kafka.common.metrics
package org.apache.kafka.common.metrics
Provides the API used by Kafka clients to emit metrics which are then exposed using the *
MetricsReporter
interface.-
ClassDescriptionA compound stat is a stat where a single measurement and associated data structure feeds many metrics.Gauge<T>A gauge metric is an instantaneous reading of a particular value.Register metrics in JMX as dynamic mbeans based on the metric namesA implementation of MetricsContext, it encapsulates required metrics context properties for Kafka services and clientsA measurable quantity that can be registered as a metricA MeasurableStat is a
Stat
that is alsoMeasurable
(i.e.Configuration values for metricsA registry of sensors and metrics.MetricsContext encapsulates additional contextLabels about metrics exposed via aMetricsReporter
A plugin interface to allow things to listen as new metrics are created so they can be reported.Super-interface forMeasurable
orGauge
that provides metric values.An upper or lower bound for metricsThrown when a sensor records a value that causes a metric to go outside the bounds configured as its quotaA sensor applies a continuous sequence of numerical values to a set of associated metrics.A Stat is a quantity such as average, max, etc that is computed off the stream of updates to a sensor