Class BraveAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.tracing.BraveAutoConfiguration
@AutoConfiguration(before=MicrometerTracingAutoConfiguration.class)
@ConditionalOnClass({brave.Tracer.class,io.micrometer.tracing.brave.bridge.BraveTracer.class})
@EnableConfigurationProperties(TracingProperties.class)
@ConditionalOnEnabledTracing
public class BraveAutoConfiguration
extends Object
Auto-configuration
for Brave.- Since:
- 3.0.0
- Author:
- Moritz Halbritter, Marcin Grzejszczak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbrave.propagation.CurrentTraceContext
braveCurrentTraceContext
(List<brave.propagation.CurrentTraceContext.ScopeDecorator> scopeDecorators, List<brave.propagation.CurrentTraceContextCustomizer> currentTraceContextCustomizers) brave.sampler.Sampler
braveSampler
(TracingProperties properties) brave.Tracer
braveTracer
(brave.Tracing tracing) brave.Tracing
braveTracing
(Environment environment, List<brave.handler.SpanHandler> spanHandlers, List<brave.TracingCustomizer> tracingCustomizers, brave.propagation.CurrentTraceContext currentTraceContext, brave.propagation.Propagation.Factory propagationFactory, brave.sampler.Sampler sampler)
-
Constructor Details
-
BraveAutoConfiguration
public BraveAutoConfiguration()
-
-
Method Details
-
braveTracing
@Bean @ConditionalOnMissingBean public brave.Tracing braveTracing(Environment environment, List<brave.handler.SpanHandler> spanHandlers, List<brave.TracingCustomizer> tracingCustomizers, brave.propagation.CurrentTraceContext currentTraceContext, brave.propagation.Propagation.Factory propagationFactory, brave.sampler.Sampler sampler) -
braveTracer
-
braveCurrentTraceContext
@Bean @ConditionalOnMissingBean public brave.propagation.CurrentTraceContext braveCurrentTraceContext(List<brave.propagation.CurrentTraceContext.ScopeDecorator> scopeDecorators, List<brave.propagation.CurrentTraceContextCustomizer> currentTraceContextCustomizers) -
braveSampler
@Bean @ConditionalOnMissingBean public brave.sampler.Sampler braveSampler(TracingProperties properties)
-