-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(preset): add preset template and rule for Hibernate JFR
- Loading branch information
1 parent
f447e9e
commit c3d4567
Showing
7 changed files
with
100 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "hibernate", | ||
"description": "Preset Automated Rule for enabling Hibernate ORM events when available", | ||
"eventSpecifier": "template=Hibernate,type=PRESET", | ||
"matchExpression": "jfrEventTypeIds(target).exists(x, x.startsWith(\"org.hibernate.orm.\"))", | ||
"enabled": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration version="2.0" label="Hibernate" description="Hibernate ORM events" provider="Cryostat"> | ||
<event name="org.hibernate.orm.CacheGet"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.CachePut"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.DirtyCalculationEvent"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.FlushEvent"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.JdbcBatchExecution"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.JdbcConnectionAcquisition"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.JdbcConnectionRelease"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.JdbcPreparedStatementCreation"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.JdbcPreparedStatementExecution"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.PartialFlushEvent"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.PrePartialFlushEvent"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.SessionClosed"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="org.hibernate.orm.SessionOpen"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration version="2.0" label="Quarkus" description="Quarkus-specific REST events" provider="Cryostat"> | ||
<event name="quarkus.Rest"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="quarkus.RestStart"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="quarkus.RestEnd"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="quarkus.Rest"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="quarkus.RestStart"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
<event name="quarkus.RestEnd"> | ||
<setting name="enabled">true</setting> | ||
</event> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters