Note: New Relic is a third party monitoring tool, use this documentation with caution. If you need more information you can check New Relic’s web documentation.
Issue
- How to install New Relic’s java agent
Environment
- Liferay PaaS
Resolution
- You will need to add an script that downloads the JAR agent of New Relic to the docker image
- After the download is successfull you’ll need to reference the agent in the JVM parameters, you can use the following information: https://docs.newrelic.com/docs/apm/agents/java-agent/additional-installation/include-java-agent-jvm-argument/#Installing_on_Tomcat
- To configure the JVM parameter in Liferay Cloud you’ll need to use the environment variable
LIFERAY_JVM_OPTS
Additional Information