google / google/allocation-instrumenter
Filter/limit instrumentation by package or class name?
- Dominant language
- Java
- Stars
- 492
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Is there an option to limit instrumentation by package/class name (incl. wildcard)? Or to exclude packages which cause problems? Our program does not start if we use Google Guice and Eureka Discovery Client together.
```
1) Error injecting constructor, java.lang.RuntimeException: Failed to initialize DiscoveryClient!
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:299)
at com.netflix.discovery.DiscoveryClient.class(DiscoveryClient.java:111)
while locating com.netflix.discovery.DiscoveryClient
```
The only difference is the instrumenter JAR added as agent option to java:
```
-javaagent:/testdir/java-allocation-instrumenter-3.2.0.jar
```
Contributor guide
Assessment
This issue has not been assessed yet.