Name: S247_LICENSE_KEY
Value: s247licensekey from the secret added in step 1
Environment variable 2
Name: JAVA_TOOL_OPTIONS
Value: "-javaagent:[mount/path]/apminsight-javaagent.jar -Dapminsight.apm.host=https://[apm_host]:[apm_port] -Dapminsight.application.name=[DesiredMonitorName]"

In the following commands, we configure the arguments that the application (Java process) will use during startup and the agent to report data to the specified monitor name.
Example: