File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
dd-java-agent/src/main/java/com/datadoghq/agent Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 2121import static net .bytebuddy .matcher .ElementMatchers .any ;
2222import static net .bytebuddy .matcher .ElementMatchers .isBootstrapClassLoader ;
2323import static net .bytebuddy .matcher .ElementMatchers .nameContains ;
24+ import static net .bytebuddy .matcher .ElementMatchers .nameMatches ;
2425import static net .bytebuddy .matcher .ElementMatchers .nameStartsWith ;
2526
2627import dd .trace .Instrumenter ;
@@ -77,6 +78,7 @@ public static void addByteBuddy(final Instrumentation inst) {
7778 .or (nameStartsWith ("org.slf4j." ))
7879 .or (nameContains ("javassist" ))
7980 .or (nameContains (".asm." ))
81+ .or (nameMatches ("com\\ .mchange\\ .v2\\ .c3p0\\ ..*Proxy" ))
8082 .ignore (
8183 any (),
8284 isBootstrapClassLoader ()
You can’t perform that action at this time.
0 commit comments