Class TraceAspectAutoConfiguration
- java.lang.Object
-
- io.opentelemetry.instrumentation.spring.autoconfigure.aspects.TraceAspectAutoConfiguration
-
@Configuration @EnableConfigurationProperties(TraceAspectProperties.class) @ConditionalOnProperty(prefix="otel.springboot.aspects", name="enabled", matchIfMissing=true) @ConditionalOnClass({org.aspectj.lang.annotation.Aspect.class,io.opentelemetry.extension.annotations.WithSpan.class}) public class TraceAspectAutoConfiguration extends Object
ConfiguresWithSpanAspectto trace bean methods annotated withWithSpan.
-
-
Constructor Summary
Constructors Constructor Description TraceAspectAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WithSpanAspectwithSpanAspect(io.opentelemetry.api.OpenTelemetry openTelemetry)
-
-
-
Method Detail
-
withSpanAspect
@Bean public WithSpanAspect withSpanAspect(io.opentelemetry.api.OpenTelemetry openTelemetry)
-
-