In this guide, we’ll go over how to monitor a reactive Spring Boot application using WebFlux, with New Relic’s @Trace annotation for detailed transaction tracking, custom parameters, and distributed tracing for complex service chains. Prerequisites A Spring Boot WebFlux application. The New Relic Java agent configured in your application. Enable distributed tracing in newrelic.yml : distributed_tracing: enabled: true Step 1: Instrument the Main Endpoint Our main entry point is the processRequest endpoint, which handles validation, external API calls, and data processing. Here’s how we add @Trace with dispatcher = true to make it a main transaction. @RestController public class SampleController { private static final Logger logger = LoggerFactory.getLogger(SampleController.class); private final SampleService sampleService; private final WebClient webClient; public SampleController(SampleService sampleService, WebClient.Builder webClientBuilder) { this.sampleS