Table of Contents Table of Contents Title and Copyright Information Preface Audience Documentation Accessibility Diversity and Inclusion Related Documents Conventions Part I Why Use the API? Part II Create Events 1 Creating and Recording Your First Event 2 Event Metadata 3 Guidelines for Naming and Labeling Events 4 Categories 5 Measuring Time 6 Data Types 7 Dynamic Events 8 Custom Annotations 9 Inheritance of Annotations, Settings, and Fields Part III Configure Events and Flight Recorder 10 Enable and Disable Events 11 Event Threshold The shouldCommit Method 12 Periodic Events 13 Printing Event Stack Trace 14 Filter Events with SettingDefinition 15 Exclude Fields from Being Persisted with the transient Keyword 16 Manually Register and Unregister an Event 17 Flight Recorder Configurations Part IV Monitor Events with Flight Recorder Event Streaming API 18 Create Event Stream in Process, Active 19 Create Event Stream in Process, Passive 20 Create Event Stream from External Process Part V Parsing a Recording File