Skip to main content

JFR events

Atoti implements some custom Java Flight Recording events, that are captured when using the Java Flight Recorder.

warning

Those events are public facing, and allow low-level debugging, but are susceptible to change at any version (major, minor, bugfix).

How to use

It is possible to activate/deactivate an event when launching a JFR. It is recommended to use a configuration files, see jfr --help configure.

For example:

<configuration label="Custom" version="2.0">

<event name="atoti.server.cube.CubeCommitEvent">
<setting name="enabled">true</setting>
</event>

<event name="atoti.server.cube.HierarchyCommitEvent">
<setting name="enabled">true</setting>
</event>
</configuration>

Then when launching the java process, the argument -XX:StartFlightRecording:filename=myFileName.jfr,settings=myCustomSettings.jfc must be supplied.

To limit the number of events recorded, several JFR options can be used:

  • period
  • threshold
  • throttle (starting with Java 25)

It is also possible to scrub an existing JFR from an event to reduce its size via the scrub command, see jfr --help scrub.

Available events

Event nameEvent LabelDefaultMeaningDocumentation
atoti.server.memory.AllocationMemory AllocationDisabledOff-heap memory allocationOff-Heap Memory Monitoring
atoti.server.memory.ReleaseMemory ReleaseDisabledOff-heap memory freeingOff-Heap Memory Monitoring
atoti.server.cube.AggregatesContributionTaskEventAggregatesContributionTaskDisabled (since 6.1.17)Task that aggregates the updates from the database into the collectors
atoti.server.cube.ConflatedTransactionProcessingEventConflatedTransactionProcessingEnabledConflation of several epochs by the continuous query engineConflating Continuous Query Engine
atoti.server.cube.provider.ContributionTaskEventContributionTaskDisabled (since 6.1.17)Task that merges the contribution collectors into the aggregate provider
atoti.server.cube.provider.RemovalTaskEventRemovalTaskDisabled (since 6.1.17)Task that merges the removal collectors into the aggregate provider
atoti.server.cube.CubeCommitEventCubeCommitEnabledCommit event on a cube
atoti.server.cube.HierarchyCommitEventHierarchyCommitDisabled (since 6.1.17)Commit event on a hierarchy
atoti.server.cube.HierarchyPipelineTaskEventHierarchyPipelineTaskDisabled (since 6.1.17)Task that performs contributions from a source partition to one or more hierarchies
atoti.server.cube.MembersExtractionEventMembersExtractionDisabled (since 6.1.17)Task that extracts and dictionarizes hierarchy members from fact records
atoti.server.datastore.StorePartitionWorkEventStorePartitionWorkDisabled (since 6.1.15)Work type performed on a store partition