-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IgnoredTypesConfigurer SPI does not work due to package shading #4049
Comments
Adding a package relocation rule in my project fixed this. However, other things like custom exporter provider spi etc. do not need package relocation to work. |
Hey @edwardxia , |
Extension loaded by |
|
oh no! the runtime shading for the extensions Lines 32 to 34 in 1a994b9
doesn't quite match the compile-time shading: Line 19 in 1a994b9
I will send a PR to fix. |
My class implement the SPI interface and takes
io.opentelemetry.instrumentation.api.config.Config
as argument, but when this is loaded from agent it is expecting the shaded classio.opentelemetry.javaagent.shaded.instrumentation.api.config.Config
, causing it to break.The text was updated successfully, but these errors were encountered: