Created
December 21, 2021 09:23
-
-
Save michael-simons/009f3b608f8ee270dab33030343a1aac to your computer and use it in GitHub Desktop.
JFR Agent description to emit events when queries are executed via Neo4j Java Driver
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
<?xml version="1.0" encoding="UTF-8"?> | |
<jfragent> | |
<config> | |
<classprefix>__JFREvent</classprefix> | |
<allowtostring>true</allowtostring> | |
<allowconverter>true</allowconverter> | |
</config> | |
<events> | |
<event id="bolt.TemplatedQueryRun"> | |
<label>Templated queries</label> | |
<description>Execution of a query with parameters</description> | |
<path>Neo4j/</path> | |
<stacktrace>true</stacktrace> | |
<class>org.neo4j.driver.internal.AbstractQueryRunner</class> | |
<method> | |
<name>run</name> | |
<descriptor>(Ljava/lang/String;Ljava/util/Map;)Lorg/neo4j/driver/Result;</descriptor> | |
<parameters> | |
<parameter index="0"> | |
<name>Query</name> | |
<description>Query being executed</description> | |
<contenttype>None</contenttype> | |
</parameter> | |
</parameters> | |
</method> | |
<location>WRAP</location> | |
</event> | |
</events> | |
</jfragent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment