-
Notifications
You must be signed in to change notification settings - Fork 801
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
Make muzzle reference creation package(s) configurable #1395
Comments
It needs to be available both in compile-time and runtime - Are these the same packages as in By the way, I'm thinking that maybe we need to have some sort of |
no, the packages in |
Another idea based on: #2524 (comment) Right now if we want to include a 3rd party library instrumentation in the javaagent (e.g. couchbase 3.1 instrumentation) we're forced to add all classes used in the library instrumentation as To fix that a new customization point should be introduced to the To sum it up, instead of using SPI (as proposed above) we should allow customizing this behavior per instrumentation module. |
The
instrumentationMuzzle
is created only for instrumenters inio.opentelemetry.instrumentation.
opentelemetry-java-instrumentation/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/ReferenceCreationPredicate.java
Line 15 in dadaac9
In my custom java agent build I am adding instrumentations in a different package and these instrumentations should have also
instrumentationMuzzle
properly created.The package prefixes could be configured via a system property which would be set at build time. I don't think we need an SPI for it.
The text was updated successfully, but these errors were encountered: