| Constructor and Description |
|---|
JavaAgent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(String agentArgument,
Instrumentation instrumentation) |
static io.prometheus.jmx.JavaAgent.Config |
parseConfig(String args,
String ifc)
Parse the Java Agent configuration.
|
static void |
premain(String agentArgument,
Instrumentation instrumentation) |
public JavaAgent()
public static void agentmain(String agentArgument, Instrumentation instrumentation) throws Exception
Exceptionpublic static void premain(String agentArgument, Instrumentation instrumentation) throws Exception
Exceptionpublic static io.prometheus.jmx.JavaAgent.Config parseConfig(String args, String ifc)
-javaagent:/path/to/agent.jar=<CONFIG>. This method parses the <CONFIG> portion.args - provided agent argsifc - default bind interfaceCopyright © 2019. All rights reserved.