Deprecate SpanExporterFactory in favor of ConfigurableSpanExporterProvider (#3299)

This commit is contained in:
Mateusz Rzeszutek 2021-06-14 20:56:02 +02:00 committed by GitHub
parent 62f1f49bcd
commit 1982065270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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.