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 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.- Since:
- 1.2.0
- Author:
- Christian Schwerdtfeger, Marcin Grzejszczak
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SleuthAnnotationConfiguration
public SleuthAnnotationConfiguration()
-