Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

In Adeptia Connect, you can use external Java Agents for different purposes such as monitoring the JVM level parameters like object creation, garbage collection, thread execution, and so on. 

To introduce a Java Agent jar in Adeptia Connect,

  1. Place the Java Agent jar in the javaagent folder in the shared PVC, as shown in the example below. 
    /shared/javaagent/<Java Agent JAR name>.
  2. In the JAVA_OPTS environment variable, set javaagent:/app/javaagent/<Java Agent JAR name> as the Java Agent path. For example, if the name of the Java Agent JAR is ddjavaagent.jar, the value for the JAVA_OPTS variable looks like the one given below:

    -Xms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false -javaagent:/app/javaagent/ddjavaagent.jar
  3. Restart the deployment of the microservice that is using this jar.
  • No labels