Class HttpExporter
java.lang.Object
io.confluent.telemetry.exporter.AbstractExporter
io.confluent.telemetry.exporter.http.HttpExporter
- All Implemented Interfaces:
Exporter, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpExporter(Predicate<Keyed> metricsPredicate, String name, HttpExporterConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddoEmit(ContextExportableMetric metric) voidsetDynamicFields(HttpExporterConfig config) voidsetMetricsRegistry(org.apache.kafka.common.metrics.Metrics metrics) Set the Metrics registry on this Exporter.Methods inherited from class AbstractExporter
emit, getName, getPredicate, reconfigurePredicate
-
Field Details
-
SELF_METRICS_GROUP
- See Also:
-
-
Constructor Details
-
HttpExporter
-
-
Method Details
-
setDynamicFields
-
doEmit
- Specified by:
doEmitin classAbstractExporter
-
close
- Throws:
IOException
-
setMetricsRegistry
public void setMetricsRegistry(org.apache.kafka.common.metrics.Metrics metrics) Description copied from interface:ExporterSet the Metrics registry on this Exporter. The Exporter can use this to register its own metrics.
-