Class OTelMetricsExporterFactory
java.lang.Object
org.opensearch.telemetry.metrics.exporter.OTelMetricsExporterFactory
Factory class to create the
MetricExporter instance.-
Method Summary
-
Method Details
-
create
Creates theMetricExporterinstances based on the OTEL_METRIC_EXPORTER_CLASS_SETTING value. As of now, it expects the MetricExporter implementations to have a create factory method to instantiate the MetricExporter.- Parameters:
settings- settings.- Returns:
- MetricExporter instance.
-