@Configuration
@Role(value=2)
@ConditionalOnBean(value=brave.Tracing.class)
@ConditionalOnProperty(name="spring.sleuth.annotation.enabled",
matchIfMissing=true)
@AutoConfigureAfter(value=TraceAutoConfiguration.class)
public class SleuthAnnotationAutoConfiguration
extends Object
Auto-configuration that allows creating spans by means of a
NewSpan annotation. You can annotate classes or just methods.
You can also apply this annotation to an interface.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.