cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

monitor performance of standalone java application

kundan.kumar
Creator

monitor performance of standalone java application

I am new to appdynamics. I have set up java agent on my machine and connected to controller.

Can I monitor performance of standalone java application. Because what I can see from controller UI is , it monitors servlet and jmx

By replying you agree to the Terms and Conditions of the AppDynamics Community.
monitor performance of standalone java application
4 REPLIES 4

Hi Kundan

 

When you say performance whats that exactly yopu are looking.

For example as you said appdynamcis detects servlets,jmx , if you are using speing then you would need to enable the auto discovery.

If you are familar how the code is written it is all about cross verfying how appdynamcids discovers and add where ever it is not.

kundan.kumar
Creator

I have written standalone application program that  perform some operations regarding customer. This application performance goes down when count of customers increases. I want to profile application perfomance to check which queries are taking time and total response time taken per customer.

I am running this application on host as daemon process using scheduler.

Can I use java-agent to monitor its performance. If yes then how. Because what i have understood till now is, controller monitor performance of web request. 

Hi

So there are couple of things you need to note them down

 

1. This is your custom code which means Appd may or may not have full context of your code.

2. This is a cron\scedular job

 

So for point where evern you think appd is not instrumenting by default then you would need to custom instrumentation : https://docs.appdynamics.com/display/PRO45/POJO+Entry+Points

Since this is cron job \ schedular you need to follow some instructions: https://docs.appdynamics.com/display/PRO45/Instrument+JVMs+Started+by+Batch+or+Cron+Jobs
If you read the above link for sure this should be a cake walk.

kundan.kumar
Creator

Thank you for your help. Will try this solution