HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation

This commit is contained in:
Andrea Boriero 2023-11-16 16:09:11 +01:00 committed by Steve Ebersole
parent 1d2d72187b
commit a9d77d2c70
1 changed files with 9 additions and 8 deletions

View File

@ -3,15 +3,16 @@
== Monitoring with Java Flight Recorder
:sourcedir: extras
Hibernate can provide an integration with Java Flight Recorder in order to monitor low level events like:
Hibernate can provide an integration with Java Flight Recorder in order to monitor low level events.
The ``Event``s that can be monitored are :
* opening and closing of a Hibernate Session
* acquisition and release of a JDBC connection
* ``PreparedStatement``s creation and execution
* batching execution
* second level cache PUT and GET operation
* flush and partial flush execution
* dirty check calculation
* `org.hibernate.orm.SessionOpen` and `org.hibernate.orm.SessionClosed` to respectively monitor the opening and closing of a Hibernate Session
* `org.hibernate.orm.JdbcConnectionAcquisition` and `org.hibernate.orm.JdbcConnectionRelease` to respectively monitor the acquisition and release of a JDBC connection
* `org.hibernate.orm.JdbcPreparedStatementCreation` and `org.hibernate.orm.JdbcPreparedStatementExecution` to respectively monitor ``PreparedStatement``s creation and execution
* `org.hibernate.orm.JdbcBatchExecution` to monitor batching execution
* `org.hibernate.orm.CachePut` and `org.hibernate.orm.CacheGet` to respectively monitor second level cache PUT and GET operations
* `org.hibernate.orm.FlushEvent` to monitor flush execution and `org.hibernate.orm.PartialFlushEvent` to monitor a partial flush execution
* `org.hibernate.orm.DirtyCalculationEvent` to monitor dirty check calculations
[IMPORTANT]
====