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
Since:
3.0.0
Author:
Moritz Halbritter, Marcin Grzejszczak
  • 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

      @Bean @ConditionalOnMissingBean public brave.Tracer braveTracer(brave.Tracing tracing)
    • 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)