JdbcIgnoredTypesConfigurer support Shardingsphere 5.x (#12066)

This commit is contained in:
Liu Ziming 2024-08-21 03:50:01 +08:00 committed by GitHub
parent ec0223de59
commit 5482777c63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -19,5 +19,7 @@ public class JdbcIgnoredTypesConfigurer implements IgnoredTypesConfigurer {
builder.ignoreClass("org.jboss.jca.adapters.jdbc."); builder.ignoreClass("org.jboss.jca.adapters.jdbc.");
// see https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8109 // see https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8109
builder.ignoreClass("org.apache.shardingsphere.shardingjdbc.jdbc.core.statement."); builder.ignoreClass("org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.");
// see https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/12065
builder.ignoreClass("org.apache.shardingsphere.driver.jdbc.core.statement.");
} }
} }