Skip to content

Commit 4012dc4

Browse files
authored
Fix H2 plugin instrumentation point (#447)
1 parent 0233fff commit 4012dc4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Release Notes.
1010
* Add plugin to trace Spring 6 and Resttemplate 6.
1111
* Move the baseline to JDK 17 for development, the runtime baseline is still Java 8 compatible.
1212
* Remove Powermock entirely from the test cases.
13+
* Fix H2 instrumentation point
1314

1415
#### Documentation
1516
* Update docs of Tracing APIs, reorganize the API docs into six parts

apm-sniffer/apm-sdk-plugin/h2-1.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jdbc/h2/define/JdbcXAConnectionInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
public class JdbcXAConnectionInstrumentation extends AbstractConnectionInstrumentation {
3333

3434
public static final String ENHANCE_CLASS = "org.h2.jdbcx.JdbcXAConnection";
35-
public static final String CONSTRUCTOR_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.jdbc.JdbcXAConnectionConstructorInterceptor";
35+
public static final String CONSTRUCTOR_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.h2.JdbcXAConnectionConstructorInterceptor";
3636

3737
@Override
3838
public ConstructorInterceptPoint[] getConstructorsInterceptPoints() {

0 commit comments

Comments
 (0)