Class AgentInstrumentationConfig

java.lang.Object
io.opentelemetry.javaagent.bootstrap.internal.AgentInstrumentationConfig

public class AgentInstrumentationConfig extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.opentelemetry.instrumentation.api.incubator.config.internal.InstrumentationConfig
    get()
    Returns the global instrumentation configuration.
    static void
    internalInitializeConfig(io.opentelemetry.instrumentation.api.incubator.config.internal.InstrumentationConfig config)
    Sets the instrumentation configuration singleton.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • internalInitializeConfig

      public static void internalInitializeConfig(io.opentelemetry.instrumentation.api.incubator.config.internal.InstrumentationConfig config)
      Sets the instrumentation configuration singleton. This method is only supposed to be called once, during the agent initialization, just before get() is used for the first time.

      This method is internal and is hence not for public use. Its API is unstable and can change at any time.

    • get

      public static io.opentelemetry.instrumentation.api.incubator.config.internal.InstrumentationConfig get()
      Returns the global instrumentation configuration.