Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

  1. Place the Java Agent jar in the javaagent folder in the shared PVC, as shown in the example below. 




    Panel
    borderColorred
    bgColorBlack
    /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:


    Panel
    borderColorred
    bgColorBlack
    titleColorWhite
    -Xms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false -javaagent:/app/javaagent/ddjavaagent.jar


  3. Restart the deployment of the microservice that is using this jar.