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 metric
    MeasurableStat
    A MeasurableStat is a Stat that is also Measurable (i.e.
    MetricsContext
    MetricsContext encapsulates additional contextLabels about metrics exposed via a MetricsReporter 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 for Measurable or Gauge 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 names
    KafkaMetric  
    KafkaMetricsContext
    A implementation of MetricsContext, it encapsulates required metrics context properties for Kafka services and clients
    MetricConfig
    Configuration values for metrics
    Metrics
    A registry of sensors and metrics.
    Quota
    An upper or lower bound for metrics
    Sensor
    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