Analysis setting of Batch process.

Hi All!

I understand AppMon can analyze the code level of Java batch process.
So is Dynatrace possible to analyze the code level of java batch process?

If it is possible, what setting do I have to set?

If there are the following java batch program code, do I only set “func01” and “func02” method to “Custom service detection” of Dynatrace setting?

===== Sample Java Program Code =====

public class BatchTest {
public static void main(String[] args) {
func01();

func02();

}

public static void func01() {

// Batch main func 01

System.out.println("Batch main func01 ");

testSleep(10000); // sample processing

}

public static void func02() {

// Batch main func 02

System.out.println("Batch main func02 ");

testSleep(3601000); // sample processing

}

public static void testSleep(int ms) {

try {

System.out.println(" [testSleep stop "+ms+“msec]”);

Thread.sleep(ms);

System.out.println(" restart");

} catch(InterruptedException e){

e.printStackTrace();

}

}

}

=================================

Regards,
Yasuo Ohnishi

Correct, however, you need to specify also the class name including the java package for a service.

Hi Julius,

Thank you for your information! I understand the setting and I will try the analysis of Batch.

I have one more question. How many minutes is the timeout of one PurePath?

Regards,
Yasuo Ohnishi

Sorry, no idea.