Open trask opened 2 years ago
I already expressed my opinion, that we should test with the whole agent, not partial agents prepared specifically for a given module :)
I already expressed my opinion, that we should test with the whole agent, not partial agents prepared specifically for a given module :)
That indeed sounds like a good idea; especially in light of our recent Armeria vs. Netty discussion 😄 And if we ever need to test a particular instrumentation in isolation, we can create a test suite/set that disables unwanted instrumentations.
we should test with the whole agent, not partial agents prepared specifically for a given module
this sounds good to me, any thoughts how to implement?
we should test with the whole agent, not partial agents prepared specifically for a given module
this sounds good to me, any thoughts how to implement?
io.opentelemetry.instrumentation.javaagent-testing.gradle.kts
uses a minimal agent-for-testing
and adds module-specific extension. It may depend on the full javaagent instead.
@anuraaga was against this idea in the past because allegedly building the full agent will take too much time.
sounds worth giving it a try and seeing what the perf impact is
E.g. netty-3.8 instrumentation is tested with netty-4.0 and netty-4.1 instrumentations applied.
Should we apply this pattern to all instrumentations with multiple versions, or decide that the muzzle range checks are all we need and abandon this practice?