Interface MetricExporterFactory
-
@Deprecated public interface MetricExporterFactory
Deprecated.Useio.opentelemetry.sdk.autoconfigure.spi.ConfigurableMetricExporterProvider
from theopentelemetry-sdk-extension-autoconfigure
instead.AMetricExporterFactory
acts as the bootstrap for aMetricExporter
implementation. An exporter must register its implementation of aMetricExporterFactory
through the Java SPI framework.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description io.opentelemetry.sdk.metrics.export.MetricExporter
fromConfig(Properties config)
Deprecated.Creates an instance of aMetricExporter
based 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 aMetricExporter
based 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
-
-