When using the Gradle build, there is a step that adds some code to VaadinObservabilityInstrumentationModule to "muzzle" certain classes. This is so that there is not a mismatch between the application and agent. Currently in the Maven build, this step is missing, which causes ClassNotFoundExceptions.
This is a workaround that hard-codes the muzzle interface and methods into VaadinObservabilityInstrumentationModule.
Description
When using the Gradle build, there is a step that adds some code to
VaadinObservabilityInstrumentationModule
to "muzzle" certain classes. This is so that there is not a mismatch between the application and agent. Currently in the Maven build, this step is missing, which causesClassNotFoundException
s.This is a workaround that hard-codes the muzzle interface and methods into
VaadinObservabilityInstrumentationModule
.