Merge pull request #1255 from DataDog/landerson/spring-blacklist

Add list of blacklisted spring classes
This commit is contained in:
Laplie Anderson 2020-02-27 14:07:42 -05:00 committed by GitHub
commit 6ed5f56bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 1 deletions

View File

@ -41,7 +41,42 @@ public class GlobalIgnoresMatcher<T extends TypeDescription>
|| name.startsWith("com.singularity.")
|| name.startsWith("com.jinspired.")
|| name.startsWith("org.jinspired.")
|| name.startsWith("org.springframework.cglib.")) {
|| name.startsWith("org.springframework.cglib.")
|| name.startsWith("org.springframework.aop.")
|| name.startsWith("org.springframework.beans.factory.annotation.")
|| name.startsWith("org.springframework.beans.factory.config.")
|| name.startsWith("org.springframework.beans.factory.parsing.")
|| name.startsWith("org.springframework.beans.factory.xml.")
|| name.startsWith("org.springframework.beans.propertyeditors.")
|| name.startsWith("org.springframework.boot.autoconfigure.cache.")
|| name.startsWith("org.springframework.boot.autoconfigure.condition.")
|| name.startsWith("org.springframework.boot.autoconfigure.http.")
|| name.startsWith("org.springframework.boot.autoconfigure.jackson.")
|| name.startsWith("org.springframework.boot.autoconfigure.web.")
|| name.startsWith("org.springframework.boot.context.")
|| name.startsWith("org.springframework.boot.convert.")
|| name.startsWith("org.springframework.boot.diagnostics.")
|| name.startsWith("org.springframework.boot.web.server.")
|| name.startsWith("org.springframework.boot.web.servlet.")
|| name.startsWith("org.springframework.context.annotation.")
|| name.startsWith("org.springframework.context.event.")
|| name.startsWith("org.springframework.context.expression.")
|| name.startsWith("org.springframework.core.annotation.")
|| name.startsWith("org.springframework.core.convert.")
|| name.startsWith("org.springframework.core.env.")
|| name.startsWith("org.springframework.core.io.")
|| name.startsWith("org.springframework.core.type.")
|| name.startsWith("org.springframework.expression.")
|| name.startsWith("org.springframework.format.")
|| name.startsWith("org.springframework.http.")
|| name.startsWith("org.springframework.ui.")
|| name.startsWith("org.springframework.validation.")
|| name.startsWith("org.springframework.web.context.")
|| name.startsWith("org.springframework.web.filter.")
|| name.startsWith("org.springframework.web.method.")
|| name.startsWith("org.springframework.web.multipart.")
|| name.startsWith("org.springframework.web.util.")) {
return true;
}