Exclude clojure standard library and anonymous functions from class transformation (DataDog/dd-trace-java#1642)
MODIFY
agent-tooling/src/main/java/io/opentelemetry/auto/tooling/matcher/GlobalIgnoresMatcher.java
agent-tooling/src/main/java/io/opentelemetry/auto/tooling/matcher/GlobalIgnoresMatcher.java
@@ -89,6 +89,10 @@ public class GlobalIgnoresMatcher<T extends TypeDescription>
}
return true;
}
+ // clojure
+ if (name.startsWith("clojure.") || name.contains("$fn__")) {
+ return true;
+ }
if (name.startsWith("io.opentelemetry.auto.")) {
// FIXME: We should remove this once

Exclude clojure standard library and anonymous functions from class transformation (DataDog/dd-trace-java#1642)