Package org.apache.kafka.common.metrics
-
Interface Summary Interface Description CompoundStat A 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.Measurable A measurable quantity that can be registered as a metricMeasurableStat A MeasurableStat is aStat
that is alsoMeasurable
(i.e.MetricsContext MetricsContext encapsulates additional contextLabels about metrics exposed via aMetricsReporter
The contextLabels map provides following information: - a_namespace field indicating the component exposing metrics e.g.
MetricsReporter A plugin interface to allow things to listen as new metrics are created so they can be reported.MetricValueProvider<T> Super-interface forMeasurable
orGauge
that provides metric values.Stat A Stat is a quantity such as average, max, etc that is computed off the stream of updates to a sensor -
Class Summary Class Description CompoundStat.NamedMeasurable JmxReporter Register metrics in JMX as dynamic mbeans based on the metric namesKafkaMetric KafkaMetricsContext A implementation of MetricsContext, it encapsulates required metrics context properties for Kafka services and clientsMetricConfig Configuration values for metricsMetrics A registry of sensors and metrics.Quota An upper or lower bound for metricsSensor A sensor applies a continuous sequence of numerical values to a set of associated metrics. -
Enum Summary Enum Description Sensor.RecordingLevel -
Exception Summary Exception Description QuotaViolationException Thrown when a sensor records a value that causes a metric to go outside the bounds configured as its quota