Class LoggingSpanExporterAutoConfiguration
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging.LoggingSpanExporterAutoConfiguration
@Configuration
@EnableConfigurationProperties(LoggingSpanExporterProperties.class)
@AutoConfigureBefore(OpenTelemetryAutoConfiguration.class)
@ConditionalOnProperty(prefix="otel.exporter.logging",
name="enabled",
matchIfMissing=true)
@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()
-