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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
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