updates the instrumentation unit test harness to be compatible with changes to the upstream tooling. Notably, we had to add some workarounds to make sure extensions get loaded for the system class loader in the scope of unit tests
add opentelemetry-javaagent-servlet-common-bootstrap dependencies to test runtime of instrumentation modules that required it (those that use the servlet instrumentation module).
Make muzzle checks compatible with framework-specific bootstrap modules. These are special because in production OpenTelemetry injects these classes so they can be loaded by multiple class loaders (e.g. the application class loader and the agent class loader). Without some help, muzzle can't find these classes while doing checks
Testing
Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.
Checklist:
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules
Documentation
Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.
Description
Upgrades OpenTelemetry to 1.10.0
opentelemetry-javaagent-servlet-common-bootstrap
dependencies to test runtime of instrumentation modules that required it (those that use the servlet instrumentation module).Testing
Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.
Checklist:
Documentation
Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.