Interface MetricExporterFactory
-
@Deprecated public interface MetricExporterFactory
Deprecated.Useio.opentelemetry.sdk.autoconfigure.spi.ConfigurableMetricExporterProviderfrom theopentelemetry-sdk-extension-autoconfigureinstead.AMetricExporterFactoryacts as the bootstrap for aMetricExporterimplementation. An exporter must register its implementation of aMetricExporterFactorythrough the Java SPI framework.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description io.opentelemetry.sdk.metrics.export.MetricExporterfromConfig(Properties config)Deprecated.Creates an instance of aMetricExporterbased on the provided configuration.Set<String>getNames()Deprecated.Returns names of metric exporters supported by this factory.
-
-
-
Method Detail
-
fromConfig
io.opentelemetry.sdk.metrics.export.MetricExporter fromConfig(Properties config)
Deprecated.Creates an instance of aMetricExporterbased on the provided configuration.- Parameters:
config- The configuration- Returns:
- An implementation of a
MetricExporter
-
getNames
Set<String> getNames()
Deprecated.Returns names of metric exporters supported by this factory.Multiple names are useful for enabling a pair of span and metric exporters using the same name, while still having separate names for enabling them individually.
- Returns:
- The exporter names supported by this factory
-
-