...
- Place the Java Agent jar in the javaagent folder in the shared PVC, as shown in the example below.
.Panel borderColor red bgColor Black /shared/javaagent/<Java Agent JAR name> 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 borderColor red bgColor Black titleColor White -Xms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false -javaagent:/app/javaagent/ddjavaagent.jar - Restart the deployment of the microservice that is using this jar.