Class BraveAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.tracing.BraveAutoConfiguration
@AutoConfiguration(before=MicrometerTracingAutoConfiguration.class)
@ConditionalOnClass(brave.Tracer.class)
@EnableConfigurationProperties(TracingProperties.class)
@ConditionalOnEnabledTracing
public class BraveAutoConfiguration
extends Object
Auto-configuration
for Brave.- Since:
- 3.0.0
- Author:
- Moritz Halbritter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbrave.propagation.CurrentTraceContext
braveCurrentTraceContext
(List<brave.propagation.CurrentTraceContext.ScopeDecorator> scopeDecorators, List<brave.propagation.CurrentTraceContextCustomizer> currentTraceContextCustomizers) brave.propagation.Propagation.Factory
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) brave.http.HttpClientHandler<brave.http.HttpClientRequest,
brave.http.HttpClientResponse> httpClientHandler
(brave.http.HttpTracing httpTracing) brave.http.HttpServerHandler<brave.http.HttpServerRequest,
brave.http.HttpServerResponse> httpServerHandler
(brave.http.HttpTracing httpTracing) brave.http.HttpTracing
httpTracing
(brave.Tracing tracing)
-
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) -
bravePropagationFactory
@Bean @ConditionalOnMissingBean public brave.propagation.Propagation.Factory bravePropagationFactory() -
braveSampler
@Bean @ConditionalOnMissingBean public brave.sampler.Sampler braveSampler(TracingProperties properties) -
httpTracing
-
httpServerHandler
@Bean @ConditionalOnMissingBean public brave.http.HttpServerHandler<brave.http.HttpServerRequest,brave.http.HttpServerResponse> httpServerHandler(brave.http.HttpTracing httpTracing) -
httpClientHandler
@Bean @ConditionalOnMissingBean public brave.http.HttpClientHandler<brave.http.HttpClientRequest,brave.http.HttpClientResponse> httpClientHandler(brave.http.HttpTracing httpTracing)
-