org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @ConditionalOnClass({io.honeycomb.libhoney.LibHoney.class,Tracing.class}) @EnableConfigurationProperties(BeelineProperties.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnProperty(name="honeycomb.beeline.enabled", matchIfMissing=true) public class BeelineAutoconfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Constructor | Description |
---|---|
BeelineAutoconfig() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Bean @ConditionalOnMissingBean public Beeline defaultBeeline(Tracer tracer, SpanBuilderFactory factory)
@Bean @ConditionalOnMissingBean public Tracer defaultBeelineTracer(SpanBuilderFactory factory)
@Bean @ConditionalOnMissingBean public io.honeycomb.libhoney.HoneyClient defaultBeelineHoneyClient(BeelineProperties beelineProperties, BeelineMetaFieldProvider metaFieldProvider, io.honeycomb.libhoney.transport.Transport transport, Optional<io.honeycomb.libhoney.ResponseObserver> maybeObserver, Optional<io.honeycomb.libhoney.EventPostProcessor> maybePostProcessor)
@Bean @ConditionalOnProperty(name="honeycomb.beeline.log-honeycomb-responses", matchIfMissing=true) @ConditionalOnMissingBean public io.honeycomb.libhoney.ResponseObserver defaultBeelineResponseObserver()
@Bean(destroyMethod="") @ConditionalOnMissingBean public io.honeycomb.libhoney.transport.Transport defaultBeelineTransport()
@Bean @ConditionalOnMissingBean public SpringServletFilter defaultBeelineFilter(BeelineProperties beelineProperties, Beeline beeline)
@Bean public TraceSampler<String> defaultBeelineGlobalSampler(BeelineProperties beelineProps)
@Bean @ConditionalOnMissingBean public SpanBuilderFactory defaultBeelineSpanBuilderFactory(SpanPostProcessor spanPostProcessor, TraceSampler<String> globalSampler)
@Bean @ConditionalOnMissingBean public SpanPostProcessor defaultBeelineSpanProcessor(io.honeycomb.libhoney.HoneyClient client, Optional<TraceSampler<Span>> maybeSamplingHook)
@Bean @ConditionalOnMissingBean public BeelineMetaFieldProvider beelineProps(@Lazy List<BeelineInstrumentation> instrumentations)
@Bean @ConditionalOnMissingBean public BeelineHandlerInterceptor defaultBeelineInterceptor(Tracer tracer, SpanBuilderFactory factory)
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<SpringServletFilter> beelineFilterRegistration(SpringServletFilter filter, BeelineProperties properties)
@Bean @ConditionalOnProperty(name="honeycomb.beeline.rest-template.enabled", matchIfMissing=true) public BeelineRestTemplateInterceptor defaultBeelineRestTemplateInterceptor(Tracer tracer)
@Bean @ConditionalOnProperty(name="honeycomb.beeline.rest-template.enabled", matchIfMissing=true) public org.springframework.boot.web.client.RestTemplateCustomizer defaultBeelineRestTemplateCustomizer(BeelineRestTemplateInterceptor interceptor)
@Bean public SpanAspect defaultBeelineSpanAspect(Tracer tracer)
Copyright © 2019–2020 Honeycomb. All rights reserved.