Class SleuthLoggingAutoConfiguration

  • All Implemented Interfaces:
    org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.server.ConfigurableWebServerFactory>

    @ConditionalOnProperty(value="spring.sleuth.enabled",
                           matchIfMissing=true)
    @Configuration
    @ComponentScan(basePackages="org.springframework.cloud.sleuth.autoconfig.*")
    public class SleuthLoggingAutoConfiguration
    extends Object
    implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.server.ConfigurableWebServerFactory>
    • Constructor Detail

      • SleuthLoggingAutoConfiguration

        public SleuthLoggingAutoConfiguration()
    • Method Detail

      • mdcInsertingServletFilter

        @Bean
        public ch.qos.logback.classic.helpers.MDCInsertingServletFilter mdcInsertingServletFilter()
      • sleuthValve

        @Bean
        public SleuthValve sleuthValve​(brave.Tracer tracer)
      • customize

        public void customize​(org.springframework.boot.web.server.ConfigurableWebServerFactory factory)
        Specified by:
        customize in interface org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.server.ConfigurableWebServerFactory>