Skip to content

Commit

Permalink
Shade application.io.opentelemetry in agent extension class loader (#…
Browse files Browse the repository at this point in the history
…7519)

Related issue #7518 

Add shade rule `application.io.opentelemetry` in
`io.opentelemetry.javaagent.tooling.RemappingUrlConnection` class.

Closed #7518

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
  • Loading branch information
wallezhang and Mateusz Rzeszutek committed Jan 12, 2023
1 parent bb7a12d commit 13be0e2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public class RemappingUrlConnection extends URLConnection {
rule(
"#io.opentelemetry.extension.aws",
"#io.opentelemetry.javaagent.shaded.io.opentelemetry.extension.aws"),
rule("#application.io.opentelemetry", "#io.opentelemetry"),
rule("#java.util.logging.Logger", "#io.opentelemetry.javaagent.bootstrap.PatchLogger"));

private final JarFile delegateJarFile;
Expand Down

0 comments on commit 13be0e2

Please sign in to comment.