Skip Headers
Previous
Previous
 
Next
Next

Managing Flight Recording Templates

Flight recording templates define the set of events that are recorded and event details (for some events, you can enable the stack trace to be attached to the event, , specify the duration threshold and a request period). To open the Flight Recording Template Manager:

  1. Right-click a JVM in the JVM Browser and select Start Flight Recording.

  2. Click Template Manager in the Start Flight Recording Wizard.

JFR includes two pre-configured server-side recording templates:

You cannot modify the pre-configured templates, but you can duplicate them and modify the duplicates to suit your requirements. To duplicate a template, select it in the list and click Duplicate. This will create a duplicate template with the same name and a number in parentheses appended to it.

To modify a template:

  1. Select it in the list and click Edit.

  2. Edit the name and description for the template.

  3. Modify the event options.

  4. Click Advanced to modify the event details. Click OK to apply the changes.

  5. Click OK to apply the changes.

To create a new template, click New.

To remove a template, select it and click Remove.

You can export and import templates to share them among JMC clients. To save a template file in the JFC format, select the template and click Export File. To import an existing template file, click Import File.