# Does Elastic APM support monitoring batch processing application?

**URL:** <https://discuss.elastic.co/t/does-elastic-apm-support-monitoring-batch-processing-application/368160>\
**Category:** Elastic Observability\
**Created:** [October 3, 2024, 3:39am UTC](https://discuss.elastic.co/t/does-elastic-apm-support-monitoring-batch-processing-application/368160 "2024-10-03T03:39:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Rizki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_rizki/32/138036_2.png) [@Kevin\_Rizki](https://discuss.elastic.co/u/Kevin_Rizki)\
**Post date:** [October 3, 2024, 3:39am UTC](https://discuss.elastic.co/t/does-elastic-apm-support-monitoring-batch-processing-application/368160/1 "2024-10-03T03:39:07Z")

</div>

So I need to design an Elasticsearch for collecting APM metrics, but most of my applications is batch processing application. Does Elastic APM can be integrate and collect APM metrics to my application?

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [October 4, 2024, 4:08pm UTC](https://discuss.elastic.co/t/does-elastic-apm-support-monitoring-batch-processing-application/368160/2 "2024-10-04T16:08:37Z")

</div>

Hi Kevin, What type of batch processing your are doing? like Is it something batch process on any database? Most of the cases APM should pick batch process traces. If you've very rare processing, then you can use custom traces to capture that.

---

<div class="post-metadata">

**Author:** ![Kevin\_Rizki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_rizki/32/138036_2.png) [@Kevin\_Rizki](https://discuss.elastic.co/u/Kevin_Rizki)\
**Post date:** [October 7, 2024, 4:08am UTC](https://discuss.elastic.co/t/does-elastic-apm-support-monitoring-batch-processing-application/368160/3 "2024-10-07T04:08:09Z")

</div>

It is a Python application that perform job in interval of 10 minute to generate a pdf file

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [October 7, 2024, 6:29am UTC](https://discuss.elastic.co/t/does-elastic-apm-support-monitoring-batch-processing-application/368160/4 "2024-10-07T06:29:32Z")

</div>

You can try [capturing custom span](https://www.elastic.co/guide/en/apm/agent/python/current/api.html#api-capture-span) before and after of batch processing.
