-
I'm trying to implement the Jetty httpclient. I started with the Jetty-client 9.0 series with hopes to come back to the earlier Jetty httpclient versions after. I have read the Muzzle doc back and forth. Getting muzzle error only at runtime.
It looks like at runtime muzzle isn't allowing my new instrumentation for jetty httpclient to auto-instrument because of missing classes? But the classes it calls out as being missing are core otel java instr classes. I designed my instrumentation module following the Module Guide I'm building on Jdk 15 then creating a full -all.jar What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
hey @robododge! Based on the exception, my first guess is that you have a reference from one of your Advice classes to your InstrumentationModule. See https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/writing-instrumentation-module.md#advice-classes, in particular:
If this doesn't get you unstuck, feel free to send a draft PR to this repo with what you have, and we can help you identify the issue. |
Beta Was this translation helpful? Give feedback.
hey @robododge!
Based on the exception, my first guess is that you have a reference from one of your Advice classes to your InstrumentationModule.
See https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/writing-instrumentation-module.md#advice-classes, in particular: