@Configuration
@EnableAspectJAutoProxy
@ConditionalOnProperty(value="spring.sleuth.scheduled.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=Tracer.class)
@EnableConfigurationProperties(value=SleuthSchedulingProperties.class)
public class TraceSchedulingAutoConfiguration
extends Object
TraceSchedulingAspect| Constructor and Description |
|---|
TraceSchedulingAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TraceSchedulingAspect |
traceSchedulingAspect(Tracer tracer,
TraceKeys traceKeys,
SleuthSchedulingProperties sleuthSchedulingProperties) |
@ConditionalOnClass(name="org.aspectj.lang.ProceedingJoinPoint") @Bean public TraceSchedulingAspect traceSchedulingAspect(Tracer tracer, TraceKeys traceKeys, SleuthSchedulingProperties sleuthSchedulingProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.