Application Performance Monitoring (APM)
- APM is all about tracing. Here we profile applications to find out the bottlenecks
- Now lets run a java application and see how it works and then attach APM, so that we can get detailed information.
- Launch an ubuntu server and install jdk 11
sudo apt update
sudo apt install openjdk-11-jdk -y
wget https://referenceapplicationskhaja.s3.us-west-2.amazonaws.com/spring-petclinic-2.4.2.jar
- Now run your application as discussed in the class with apm agent and we would be able to trace the application with millisecond to microsecond level information of the code or database queries getting executed.
System Monitoring
- Installing Heart Beat Refer Here
Metrics
- We can track cpu utilization, free disk space, free RAM etc..
- We have metric beats to solve this issue.
- Refer Here for installation.
