@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value={io.opentelemetry.api.trace.Tracer.class,OtelProperties.class})
@ConditionalOnOtelEnabled
@ConditionalOnProperty(value="spring.sleuth.enabled",
matchIfMissing=true)
@ConditionalOnMissingBean(value=org.springframework.cloud.sleuth.Tracer.class)
@EnableConfigurationProperties(value={OtelProperties.class,org.springframework.cloud.sleuth.autoconfig.SleuthSpanFilterProperties.class,org.springframework.cloud.sleuth.autoconfig.SleuthBaggageProperties.class,org.springframework.cloud.sleuth.autoconfig.SleuthTracerProperties.class,OtelProcessorProperties.class})
@Import(value={org.springframework.cloud.sleuth.autoconfig.otel.OtelBridgeConfiguration.class,org.springframework.cloud.sleuth.autoconfig.otel.OtelPropagationConfiguration.class,org.springframework.cloud.sleuth.autoconfig.TraceConfiguration.class,org.springframework.cloud.sleuth.autoconfig.SleuthAnnotationConfiguration.class,org.springframework.cloud.sleuth.autoconfig.otel.OtelResourceConfiguration.class})
@AutoConfigureBefore(value=org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration.class)
public class OtelAutoConfiguration
extends Object
Auto-configuration to enable tracing via Spring Cloud Sleuth and OpenTelemetry SDK.Copyright © 2023 Pivotal Software, Inc.. All rights reserved.