Splunk AppDynamics

monitor performance of standalone java application

CommunityUser
Splunk Employee
Splunk Employee

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

Labels (1)
0 Karma

Umervali_Niyama
Path Finder

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.

0 Karma

Umervali_Niyama
Path Finder

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.

CommunityUser
Splunk Employee
Splunk Employee
Thank you for your help. Will try this solution
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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. 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...