spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

Proof of concept for JDK Flight Recorder view in Spring Boot Admin

Open mnk opened this issue 3 months ago • 3 comments

I created a small proof-of-concept for a JDK Flight Recorder view in SBA - via https://github.com/mirkosertic/flight-recorder-starter.

Screenshot From 2025-09-21 22-29-42

Would you be interested in integrating such a contribution and making it a standard feature of SBA - similar to the JMX support?

mnk avatar Sep 21 '25 20:09 mnk

@mnk very nice :) @mirkosertic Do you have any chance to get this (i.e.: the backend part) merged as part of the standard Spring Boot actuator by chance?

Having to maintain custom endpoints it's not ideal, given that it may drift away from the standards of Spring Boot over time (e.g.: in Spring Boot 4 everything is modularized now).

cdprete avatar Sep 23 '25 16:09 cdprete

Hey! This is really impressive! I really love Spring Boot Admin, and this integration is a missing part of service management and monitoring. As far as I know there is currently no default actuator endpoint for JFR available in Spring Boot, and that is the main reason I wrote https://github.com/mirkosertic/flight-recorder-starter. Maybe the view extension in this PR could be packaged in the flight-recorder-starter and deployed as part of the SBA server, but this is up to the SBA maintainers. Anyway I am really happy that the flight recorder starter got some attention :-)

mirkosertic avatar Sep 24 '25 11:09 mirkosertic

As @cdprete wrote it would be good, if the actuator itself would be part of the official Spring Boot Actuator package. Maybe you can try to contribute it there @mirkosertic .

That would make it a lot "easier" for The Spring Boot Admin Team to integrate the frontend part into SBA. At the moment we would add something for a small, private project where we cannot foresee how good it will be maintained in the next years. If Mirko gets a new hobby, the backend may not be maintained anymore and we get support requests for the frontend.

However we are discussing this and even if it will not be part of the official actuator, we might still support it. Not decided yet.

erikpetzold avatar Sep 24 '25 12:09 erikpetzold