Package io.confluent.telemetry.exporter
Class AbstractExporter
java.lang.Object
io.confluent.telemetry.exporter.AbstractExporter
- All Implemented Interfaces:
Exporter,AutoCloseable
- Direct Known Subclasses:
HttpExporter,KafkaExporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddoEmit(ContextExportableMetric metric) final booleanemit(ContextExportableMetric exportableMetric) getName()voidreconfigurePredicate(Predicate<Keyed> metricsPredicate) Reconfigure the metrics predicate.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface io.confluent.telemetry.exporter.Exporter
setMetricsRegistry
-
Constructor Details
-
AbstractExporter
-
-
Method Details
-
getPredicate
- Specified by:
getPredicatein interfaceExporter
-
reconfigurePredicate
Reconfigure the metrics predicate.- Specified by:
reconfigurePredicatein interfaceExporter- Parameters:
metricsPredicate- predicate to switch to
-
doEmit
-
emit
-
getName
-