Hello All!
I'm monitoring a java process, just attaching as options the arguments in order to report to the agent of Dynatrace.
Everything was working good until I tried to add more instrumentation.
I noticed that for a weird reason, the purepath appears as corrupted, BUT it has data.This has happened before. I was able to review its metrics without more trouble.
The job executed about 10k records and I got data.
Now, I am trying with just 10 cases, and all dashlets are empty. Not so sure what could be the trouble. I know that the process worked, since I see the updates on the DB and in the log of the java job. Just I cannot get any information on the dashlets.
I have read no the forum that sometimes the corrupted purepaths doesn't show data. However, I have sessions stored where it processed the 10k records. I don't get why the dashlets are not capturing data with just 10 records.
Do I miss something? Any guidance it's appreciated.
Regards
Answer by Graeme W. ·
Ageo,
Could you share with us a session file showing data from a few of the 10K records (preferably including both corrupt and complete PurePaths), and a screenshot of one of the empty dashboards?
What version of Dynatrace are you running? Is your Java application a web application or a background job?
-- Graeme
Hi Graeme!
Sure, I attach you the sessions, screenshots.
The version running is 6.0.0.6738.
Finally, the java process is a standalone one. We triggered using a sh. In order to connect it to DT, we just add some arguments to hook it to the agent on the box.
Thank you in advance!
Regards
Aego,
you instrumented the main() method which is a very bad idea. It basically would create one PP from the start to the end of the java program.
In your first case you reached the set maximum number of nodes on the PP (10000in your case). In the second case the program was shut down and the purepath corrupted or the program didn't send any data for some time before it was shut down.
You should try to find a smarter start point for your batch execution than main(). Maybe a instrumentation for the individual steps that are executet, this would create a PP for every step.
Reinhard
JANUARY 15, 3:00 PM GMT / 10:00 AM ET