This is a Spring Boot 2 Starter exposing the JDK Flight Recorder as a Spring Boot Actuator Endpoint. Normally the JDK Flight Recorder is available locally or by JMX remote. Depending on your deployment scenario shell or JMX access might not be available for the application server. Here comes this handy starter into play! This starter adds a new Spring Boot Actuator endpoint for JDK Flight Recorder remote control. This RESTful endpoint allows starting and stopping Flight Recording 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.

Features

  • Generate an interactive Flamegraph from a Flight Recorder recording
  • The starter automatically tries to visualize only classes belonging to the running Spring Boot application
  • Auto-deletion process
  • There is a process to delete automatically the recording files
  • Trigger Flight Recording based on Micrometer Metrics
  • By default, all the recording files are stored at temporal system folder

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Why & When

Why & When Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Why & When!

Additional Project Details

Programming Language

Java

Related Categories

Java Container Management Software

Registered

2023-02-13