Chapter 1. JFR creation options for Cryostat
With Cryostat, you can create a JDK Flight Recorder (JFR) recording that monitors the performance of your JVM in your containerized application. Additionally, you can take a snapshot of an active JFR recording to capture any collected data, up to a specific point in time, for your target JVM application.
Cryostat supports all of the following different ways to create JFR recordings:
- You can use the Cryostat web console to create JFR recordings manually for target JVMs that are using a JMX or agent HTTP connection.
- The Cryostat server can send on-demand requests over JMX or an agent HTTP connection to start JFR recordings dynamically based on automated rules.
- The Cryostat agent can start JFR recordings automatically at agent startup based on a given event template as part of the agent harvester feature.
- From Red Hat build of Cryostat 2.4 onward, the Cryostat agent can start JFR recordings dynamically based on MBean custom triggers and a given event template.
The rest of this document describes how to create a JFR recording manually in the Cryostat web console.