This website uses cookies to ensure you get the best experience. Learn More.
Liferay Digital Performance Management using Dynatrace
During my last LIUG presentation on this topic, many participants showed interest in this tool and they wanted to try this in their enviornment. I am writing this blog for beginners, who want to explore Dyntrace APM with Liferay DXP.
What is Dynatrace:
We are using it to discover the existence of abnormalities in CPU Performance, response time, transaction rate, throughput and system usage. It has helped to diagnose and fix many performance issues at an early stage and make our application more value able
For more information about Dynatrace, please refer: https://www.dynatrace.com/
How to monitor DXP using Dynatrace:
1. Download Dynatrace full APM from this link. Current available version for Dynatrace is 7.0. You can get 30 days license to explore Dynatrace.
Below diagram shows, how does Dynatrace works in this example. There are many agents avaiable for each tier Database, Web Server etc but in this example, I used only application server tier. Logic remains the same for other tiers.
2. Once you have installed Dynatrace Server, Collector, Client (Full installation contains all), you can start client and during start over, you will able to see screen "Application Environment Configurations". We need to select application server tomcat (Assuming we are going to monitor DXP bundle with tomcat running on same machine) and give name to your tier for example : Tomcat. You can choose any name.
Select Apache Tomcat from below list and click "Next". Over Next screen, select value as:
Where Tomcat is installed? On this Machine
JVM_Version : 5 or high ( As per OS bit)
After clicking "Next", next screen will show you parameters to add into your JVM for enabling agent, as per my machine (Dont use it, just for example):
-agentpath:"C:\Program Files\Dynatrace\Dynatrace 7.0\agent\lib64\dtagent.dll"=name=Tomcat_Monitoring,server=sibl15exci:9998
3. Copy parameters and append this to your CATALINA_OPTS in setenv.bat/setenv.sh files of Tomcat server.
4. Restart your server and you should able to see monitoring data under Database, Agent