Class SleuthAnnotationConfiguration
- java.lang.Object
-
- org.springframework.cloud.sleuth.autoconfig.SleuthAnnotationConfiguration
-
@Configuration(proxyBeanMethods=false) @Role(2) @ConditionalOnProperty(name={"spring.sleuth.enabled","spring.sleuth.annotation.enabled"}, matchIfMissing=true) public class SleuthAnnotationConfiguration extends ObjectAuto-configurationthat allows creating spans by means of aNewSpanannotation. You can annotate classes or just methods. You can also apply this annotation to an interface.- Since:
- 1.2.0
- Author:
- Christian Schwerdtfeger, Marcin Grzejszczak