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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    brave.propagation.CurrentTraceContext
    braveCurrentTraceContext(List<brave.propagation.CurrentTraceContext.ScopeDecorator> scopeDecorators, List<brave.propagation.CurrentTraceContextCustomizer> currentTraceContextCustomizers)
     
    brave.sampler.Sampler
     
    brave.Tracer
    braveTracer(brave.Tracing tracing)
     
    brave.Tracing
    braveTracing(org.springframework.core.env.Environment environment, TracingProperties properties, List<brave.handler.SpanHandler> spanHandlers, List<brave.TracingCustomizer> tracingCustomizers, brave.propagation.CurrentTraceContext currentTraceContext, brave.propagation.Propagation.Factory propagationFactory, brave.sampler.Sampler sampler)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BraveAutoConfiguration

      public BraveAutoConfiguration()
  • Method Details

    • braveTracing

      @Bean @ConditionalOnMissingBean public brave.Tracing braveTracing(org.springframework.core.env.Environment environment, TracingProperties properties, 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)