cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch profiling with custom services

Hello,

I'm trying to find where the time is consumed in a Java batch application with Dynatrace. I created a custom entry point (custom service) that match the main method of the batch and the method called iteratively. The process is detected but I don't know where to find the resulted distributed traces.

JP

4 REPLIES 4

pahofmann
DynaMight Guru
DynaMight Guru

You should see the custom service in the Transactions & services overview.

You can use the filter for Service Type: Custom service:


Dynatrace Certified Master - Dynatrace Partner - 360Performance.net

Thank you @Patrick H. for your answer. I was trying on a test batch :

public class Entree {
public static void main(String[] args) throws Exception {
doIt();
}
private static void doIt() throws InterruptedException {
while (true) {
System.out.println(" Il est " + new Date() );
Thread.sleep(5000);
}
}
}

and it didn't work (?).

I tried on my real batch, and now it seems to works.

Thank you for your help,

JP


Maybe you didn't restart the process or activate Hot Sensor Placement for Java when configuring the test Batch?


Dynatrace Certified Master - Dynatrace Partner - 360Performance.net

Patrick,

I did restart the process. I'll try to understand later, when I have some time.

Regards,

JP


Featured Posts