Class AgentInstrumentationConfig
java.lang.Object
io.opentelemetry.javaagent.bootstrap.internal.AgentInstrumentationConfig
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 TypeMethodDescriptionstatic 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.
-
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 beforeget()
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.
-