File tree 1 file changed +21
-0
lines changed
instrumentation/jdbc/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jdbc
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ package io .opentelemetry .javaagent .instrumentation .jdbc ;
7
+
8
+ import com .google .auto .service .AutoService ;
9
+ import io .opentelemetry .instrumentation .api .config .Config ;
10
+ import io .opentelemetry .javaagent .extension .ignore .IgnoredTypesBuilder ;
11
+ import io .opentelemetry .javaagent .extension .ignore .IgnoredTypesConfigurer ;
12
+
13
+ @ AutoService (IgnoredTypesConfigurer .class )
14
+ public class JdbcIgnoredTypesConfigurer implements IgnoredTypesConfigurer {
15
+
16
+ @ Override
17
+ public void configure (Config config , IgnoredTypesBuilder builder ) {
18
+ // see https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/5946
19
+ builder .ignoreClass ("org.jboss.jca.adapters.jdbc." );
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments