Interface Exporter

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
AbstractExporter, HttpExporter, KafkaExporter

public interface Exporter extends AutoCloseable
  • Method Details

    • reconfigurePredicate

      void reconfigurePredicate(Predicate<Keyed> metricsPredicate)
      Reconfigure the metrics predicate.
      Parameters:
      metricsPredicate - metrics predicate to switch to
    • getPredicate

      Predicate<Keyed> getPredicate()
    • emit

      boolean emit(ContextExportableMetric exportableMetric)
    • getName

      String getName()
    • setMetricsRegistry

      default void setMetricsRegistry(org.apache.kafka.common.metrics.Metrics metrics)
      Set the Metrics registry on this Exporter. The Exporter can use this to register its own metrics.