# How can I trace batch process?

**URL:** <https://community.dynatrace.com/t/how-can-i-trace-batch-process/31428>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [May 11, 2021, 10:20am UTC](https://community.dynatrace.com/t/how-can-i-trace-batch-process/31428 "2021-05-11T10:20:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoshi](https://avatars.discourse-cdn.com/v4/letter/y/aeb1de/32.png) [@Yoshi](https://community.dynatrace.com/u/Yoshi)\
**Post date:** [May 11, 2021, 10:20am UTC](https://community.dynatrace.com/t/how-can-i-trace-batch-process/31428/1 "2021-05-11T10:20:04Z")

</div>

Hi everyone,

I installed Dynatrace OneAgent to two servers.

・Server1: application implemented by weblogic

・Server2: batch process implemented by PureJava

Dynatrace can&nbsp; 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.

> **[GitHub - Dynatrace/OneAgent-SDK-for-Java: Enables custom tracing of Java applications in...](https://github.com/Dynatrace/OneAgent-SDK-for-Java#trace-incoming-and-outgoing-remote-calls)**
>
> Enables custom tracing of Java applications in Dynatrace

But I can’t understand which part of documentation should I use to fix batch process…

Does anyone know which part is needed?

Thank you in advance,

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [May 11, 2021, 10:30am UTC](https://community.dynatrace.com/t/how-can-i-trace-batch-process/31428/2 "2021-05-11T10:30:56Z")

</div>

What you are looking for in dynatrace are&nbsp;[Custom Services.](https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/custom-services/)&nbsp;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&nbsp;[Request Attributes](https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/request-attributes/)&nbsp;and&nbsp;[Request Naming](https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-monitoring-settings/set-up-request-naming/)&nbsp;so that the Requests of the Service have the name of your batch job.

---

<div class="post-metadata">

**Author:** ![Yoshi](https://avatars.discourse-cdn.com/v4/letter/y/aeb1de/32.png) [@Yoshi](https://community.dynatrace.com/u/Yoshi)\
**Post date:** [May 11, 2021, 11:09am UTC](https://community.dynatrace.com/t/how-can-i-trace-batch-process/31428/3 "2021-05-11T11:09:05Z")

</div>

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

Thank you for your kindness​🙂
