Class InstrumentationHolder

java.lang.Object
io.opentelemetry.javaagent.bootstrap.InstrumentationHolder

public class InstrumentationHolder extends Object
This class serves as a "everywhere accessible" source of Instrumentation instance.
  • Constructor Details

    • InstrumentationHolder

      public InstrumentationHolder()
  • Method Details

    • getInstrumentation

      public static Instrumentation getInstrumentation()
    • setInstrumentation

      public static void setInstrumentation(Instrumentation instrumentation)