Installation of OMC APM Agent --Java version-

Application Performance Monitoring of Oracle Management Cloud is a cloud service for performance monitoring of applications running on JAVA Application Server, .NET, and Node.js. Analyzing client-side and application server-side information can help identify where performance problems are.

This section describes the procedure for setting up Application Performance Monitoring. The target AP server is Apache Tomcat.

--Click the agent from the OMC console image.png

--Click the agent download icon in the upper right image.png

--Select APM Agent as the agent type and click APM JAVA Agent to download image.png

--Click Manage Registration Keys on the top right icon image.png

--Enter your favorite name and click Create New Key image.png

--Make a note of the generated key value image.png

--Copy APM Agent to the server where Tomcat is installed and log in

Unzip APM Agent
$ unzip 1.46_APM_226.zip -d 1.46_APM_226
$ cd 1.46_APM_226/
$ ls
AgentConfig.info          ApmAgent-1.46.zip  ProvisionApmJavaAsAgent.cmd
agent_software_build.xml  certificates       ProvisionApmJavaAsAgent.sh
ApmAgent-1.46.dat         install            rootCertificates

Script permission change
$ chmod 775 ProvisionApmJavaAsAgent.sh

Install APM Agent(* CATALINA as an environment variable_HOME is specified)
$ ./ProvisionApmJavaAsAgent.sh -d $CATALINA_HOME
INFO: Starting APM Java agent installer using the following parameters: -d /home/opc/apache-tomcat-9.0.30
INFO: Your install directory is /home/opc/apache-tomcat-9.0.30
INFO: Please enter the registration key or q to quit
-->Enter the key value you wrote down

-Various messages flow and installation is complete-

The substance of APM Agent is$CATALINA_HOME/Installed on apm agent

Add the following to your environment variables and restart tomcat
export CATALINA_OPTS="-javaagent:$CATALINA_HOME/apmagent/lib/system/ApmAgentInstrumentation.jar"

--If it is installed normally, it will be displayed in the item of APM Agent. image.png

--Click APM image.png

--Data is displayed on the server request and APP Server, and APM monitoring starts. image.png

--Detailed performance analysis for each server request image.png

--For information on how to enable end-user monitoring (record user browser operations), see Installing OMC APM Agent --.NET Edition. https://qiita.com/western24/items/855cee9d2c0a93b8cf79

This time we introduced Tomcat, but the other supported Web Application Servers are WebLogic, WebSphere, Jboss, and Jetty. The installation procedure of APM Agent is slightly different for each AP server, so [Manual](https://docs.oracle.com/cd/E83857_01/paas/management-cloud/dmapm/introduction-application-performance-monitoring. Please refer to html # GUID-DD7ECE8E-ADE5-4CA4-AD1F-C72DA85C3FBF).

Click here for information related to Oracle Management Cloud (https://qiita.com/western24/items/1e44bfcaa77f3251a263)

Recommended Posts

Installation of OMC APM Agent --Java version-
[Java version] The story of serialization
Windows version of OpenJDK installation procedure
java installation
Java installation (Mac, Homebrew, multiple version control)
[Java] Access the signed URL of s3 (signed version 2)
Java version check
Set Java version 11 of Docker Minecraft Paper server
Try the free version of Progate [Java II]
[Java] Overview of Java
Try the free version of Progate [Java I]
[Java] Check the JDK version of the built war file
Summary of revisions (new era) support by Java version
Implementation example of simple LISP processing system (Java version)
Create a JAVA WEB application and try OMC APM
Links for each version (Japanese version) of Java SE API
Expired collection of java
Predicted Features of Java
[Java] Convert PDF version
[Java] Significance of serialVersionUID
Java (eclipse) installation procedure
NIO.2 review of java
Review of java Shilber
Java version notation comparison
java --Unification of comments
Switching java version (memorial)
History of Java annotation
java (merits of polymorphism)
NIO review of java
[Java] Three features of Java
Summary of Java support 2018