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:
- Right-click a JVM in the JVM Browser and select Start Flight Recording
- Click Template Manager in the Start Flight Recording Wizard.
JFR includes two pre-configured server-side recording templates:
Continuous: A pre-configured template for continuous use in production environments with less than one percent overhead. This template is used for the default recording
Profiling: A pre-configured template for profiling with around two percent overhead.
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.