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 Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AutoCloseable
closeMethods inherited from interface 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
-