Why & When
Exposing the JDK Flight Recorder as a Spring Boot Actuator Endpoint
... and downloading the .jfr files for further analysis. By default, this starter doesn't include spring webmvc or spring web flux dependencies. You will have to include them according to the stack you wish. Every recording session gets its own unique Flight Recording ID. The endpoint returns this ID as plain text, in this case ID 1. This ID must be used to download the recorded data.