Class BraveAutoConfiguration
java.lang.Object
org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnBraveEnabled
@ConditionalOnProperty(value="spring.sleuth.enabled",
matchIfMissing=true)
@ConditionalOnMissingBean(org.springframework.cloud.sleuth.Tracer.class)
@ConditionalOnClass({brave.Tracer.class,SleuthProperties.class})
@EnableConfigurationProperties({SleuthProperties.class,SleuthSpanFilterProperties.class,SleuthBaggageProperties.class,SleuthTracerProperties.class,SleuthBaggageProperties.class})
@Import({org.springframework.cloud.sleuth.autoconfig.brave.BraveBridgeConfiguration.class,org.springframework.cloud.sleuth.autoconfig.brave.BraveBaggageConfiguration.class,org.springframework.cloud.sleuth.autoconfig.brave.BraveSamplerConfiguration.class,BraveHttpConfiguration.class,TraceConfiguration.class,SleuthAnnotationConfiguration.class})
public class BraveAutoConfiguration
extends Object
Auto-configuration to enable tracing via Spring Cloud Sleuth with Brave.- Since:
- 3.0.0
- Author:
- Spencer Gibb, Marcin Grzejszczak, Tim Ysewyn
-
Field Details
-
TRACING_BEAN_NAME
Tracing bean name. Name of the bean matters for some instrumentations.- See Also:
-
TRACER_BEAN_NAME
Tracer bean name. Name of the bean matters for some instrumentations.- See Also:
-
-
Constructor Details
-
BraveAutoConfiguration
public BraveAutoConfiguration()
-