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.
  • Class
    Description
    A compound stat is a stat where a single measurement and associated data structure feeds many metrics.
     
    A gauge metric is an instantaneous reading of a particular value.
    Register metrics in JMX as dynamic mbeans based on the metric names
     
    An implementation of MetricsContext, it encapsulates required metrics context properties for Kafka services and clients
    A measurable quantity that can be registered as a metric
    A MeasurableStat is a Stat that is also Measurable (i.e.
    Configuration values for metrics
    A registry of sensors and metrics.
    MetricsContext encapsulates additional contextLabels about metrics exposed via a MetricsReporter
    A plugin interface to allow things to listen as new metrics are created so they can be reported.
    Super-interface for Measurable or Gauge that provides metric values.
    Plugins can implement this interface to register their own metrics.
    This allows plugins to register metrics and sensors.
    An upper or lower bound for metrics
    Thrown when a sensor records a value that causes a metric to go outside the bounds configured as its quota
    A 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