Skip to content

Latest commit

 

History

History

webflux6-micrometer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Tracing Example: Spring 6/Reactor Netty/Spring Boot 3/Micrometer/Log4J 2

Instead of servlet, this uses Spring Boot 3 to create a self-contained application that runs Spring WebFlux 6 controllers.

  • brave.example.Frontend and Backend: Rest controllers
  • brave.example.AppAutoConfiguration: Sets up the WebClient used in the Frontend.

Application code doesn't show any tracing configuration because that's handled by Micrometer Tracing, configured by Spring Boot.

Micrometer Tracing has its own Tracer API that can bridge to Brave's with a plugin. This allows users to mix Micrometer with native Brave instrumentation. However, this example does not use any native Brave instrumentation.