Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 887 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 887 Bytes

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.