From a8439540ecfcf723adf68b469777870e81f0291b Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Tue, 8 Nov 2022 15:40:02 -0800 Subject: [PATCH] also ignore trino shaded okhttp pool --- .../javaagent/tooling/ignore/GlobalIgnoredTypesConfigurer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/ignore/GlobalIgnoredTypesConfigurer.java b/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/ignore/GlobalIgnoredTypesConfigurer.java index e57632b3367b..3118ebaaf42c 100644 --- a/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/ignore/GlobalIgnoredTypesConfigurer.java +++ b/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/ignore/GlobalIgnoredTypesConfigurer.java @@ -161,5 +161,8 @@ private static void configureIgnoredTasks(IgnoredTypesBuilder builder) { // Presto's presto-jdbc shades the okhttp3 ConnectionPool class. Just like we ignore the pool // in OkHttp3IgnoredTypesConfigurer we need to also ignore it here. builder.ignoreTaskClass("io.prestosql.jdbc.$internal.okhttp3.ConnectionPool$"); + + // Presto turned into trino, and so the package changed. + builder.ignoreTaskClass("io.trino.jdbc.$internal.okhttp3.ConnectionPool$"); } }