From a9d77d2c702563bdaa1df3ff354df4998776d954 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Thu, 16 Nov 2023 16:09:11 +0100 Subject: [PATCH] HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation --- .../userguide/appendices/Monitoring.adoc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc b/documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc index 9be43d1b58..a69d89832d 100644 --- a/documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc +++ b/documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc @@ -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] ====