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

How can I trace batch process?

Yoshi
Visitor

Hi everyone,

 

I installed Dynatrace OneAgent to two servers.

・Server1: application implemented by weblogic

・Server2: batch process implemented by PureJava

Dynatrace can  get transactions from Server1, while can't from Server2.

 

I think this is because the type of implementation.

So I'm going to fix Server2's batch process using OneAgent SDK for JAVA.

https://github.com/Dynatrace/OneAgent-SDK-for-Java#trace-incoming-and-outgoing-remote-calls

But I can't understand which part of documentation should I use to fix batch process...

Does anyone know which part is needed?

 

According to this Q&A, it seems Custom Entry Point is needed.

https://community.dynatrace.com/t5/AppMon-UEM/Java-Batch-Monitor-Setup/m-p/82663

Do I also need to set Custom Entry Point using OneAgent SDK for JAVA?

 

Thank you in advance,

2 REPLIES 2

pahofmann
Champion

The Custom Entry Point you linked is from a previous product. 

 

What you are looking for in dynatrace are Custom Services. You can define the Entry Point for you Batch Jobs there and they will show up as a service then. No need to adapt you application by adding the SDK.

 

You can also utilize Request Attributes and Request Naming so that the Requests of the Service have the name of your batch job.

Yoshi
Visitor

I'll try define the Entry Point using Custom Services!

Thank you for your kindness🙂