Interface InstrumentationModuleMuzzle
public interface InstrumentationModuleMuzzle
This interface contains methods that muzzle automatically adds to the
InstrumentationModule. They are not supposed to be used by end-users, only by our own internal
code.-
Method Summary
Modifier and TypeMethodDescriptiongetHelperClassNames(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module) Returns a concatenation ofgetMuzzleHelperClassNames()andInstrumentationModule.getAdditionalHelperClassNames().Returns a list of instrumentation helper classes, automatically detected by muzzle during compilation.Returns references to helper and library classes used in this module's type instrumentation advices, grouped byClassRef.getClassName().getMuzzleReferences(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module) voidBuilds the associations between instrumented library classes and instrumentation context classes.
-
Method Details
-
getMuzzleReferences
Returns references to helper and library classes used in this module's type instrumentation advices, grouped byClassRef.getClassName(). -
getMuzzleReferences
-
registerMuzzleVirtualFields
Builds the associations between instrumented library classes and instrumentation context classes. Keys (and their subclasses) will be associated with a context class stored in the value. -
getMuzzleHelperClassNames
Returns a list of instrumentation helper classes, automatically detected by muzzle during compilation. Those helpers will be injected into the application class loader. -
getHelperClassNames
static List<String> getHelperClassNames(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module) Returns a concatenation ofgetMuzzleHelperClassNames()andInstrumentationModule.getAdditionalHelperClassNames().
-