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 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(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)
     

    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(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)
    • httpTracing

      @Bean @ConditionalOnMissingBean public brave.http.HttpTracing httpTracing(brave.Tracing tracing)
    • 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)