Deprecate SpanExporterFactory in favor of ConfigurableSpanExporterProvider (#3299)
This commit is contained in:
parent
62f1f49bcd
commit
1982065270
|
@ -13,7 +13,11 @@ import java.util.Set;
|
|||
* A {@link SpanExporterFactory} acts as the bootstrap for a {@link SpanExporter} implementation. An
|
||||
* exporter must register its implementation of a {@link SpanExporterFactory} through the Java SPI
|
||||
* framework.
|
||||
*
|
||||
* @deprecated Use {@code io.opentelemetry.sdk.autoconfigure.spi.ConfigurableSpanExporterProvider}
|
||||
* from the {@code opentelemetry-sdk-extension-autoconfigure} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface SpanExporterFactory {
|
||||
/**
|
||||
* Creates an instance of a {@link SpanExporter} based on the provided configuration.
|
||||
|
|
Loading…
Reference in New Issue