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 Details

    • getMuzzleReferences

      Map<String,ClassRef> getMuzzleReferences()
      Returns references to helper and library classes used in this module's type instrumentation advices, grouped by ClassRef.getClassName().
    • getMuzzleReferences

      static Map<String,ClassRef> getMuzzleReferences(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module)
    • registerMuzzleVirtualFields

      void registerMuzzleVirtualFields(VirtualFieldMappingsBuilder builder)
      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

      List<String> 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 of getMuzzleHelperClassNames() and InstrumentationModule.getAdditionalHelperClassNames().