Class LoggingSpanExporterAutoConfiguration
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging.LoggingSpanExporterAutoConfiguration
@Configuration
@EnableConfigurationProperties(LoggingExporterProperties.class)
@AutoConfigureBefore(OpenTelemetryAutoConfiguration.class)
@Conditional(io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging.LoggingSpanExporterAutoConfiguration.AnyPropertyEnabled.class)
@ConditionalOnClass(io.opentelemetry.exporter.logging.LoggingSpanExporter.class)
public class LoggingSpanExporterAutoConfiguration
extends Object
Configures
LoggingSpanExporter bean for tracing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.exporter.logging.LoggingSpanExporter
-
Constructor Details
-
LoggingSpanExporterAutoConfiguration
public LoggingSpanExporterAutoConfiguration()
-
-
Method Details
-
otelLoggingSpanExporter
@Bean @ConditionalOnMissingBean public io.opentelemetry.exporter.logging.LoggingSpanExporter otelLoggingSpanExporter()
-