05 Nov 2018
05:05 AM
- last edited on
27 Feb 2023
12:40 AM
by
Karolina_Linda
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
Solved! Go to Solution.
You should see the custom service in the Transactions & services overview.
You can use the filter for Service Type: Custom service:
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?
Patrick,
I did restart the process. I'll try to understand later, when I have some time.
Regards,
JP