Class AgentInitializer
- java.lang.Object
-
- io.opentelemetry.javaagent.bootstrap.AgentInitializer
-
public class AgentInitializer extends Object
Agent start up logic.This class is loaded and called by
io.opentelemetry.javaagent.OpenTelemetryAgent
The intention is for this class to be loaded by bootstrap classloader to make sure we have unimpeded access to the rest of agent parts.
-
-
Constructor Summary
Constructors Constructor Description AgentInitializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
initialize(Instrumentation inst, URL bootstrapUrl)
static boolean
isJavaBefore9()
-
-
-
Method Detail
-
initialize
public static void initialize(Instrumentation inst, URL bootstrapUrl) throws Exception
- Throws:
Exception
-
isJavaBefore9
public static boolean isJavaBefore9()
-
-