# Configure APM for java based application

**URL:** <https://discuss.elastic.co/t/configure-apm-for-java-based-application/251723>\
**Category:** APM\
**Tags:** java\
**Created:** [October 12, 2020, 7:04am UTC](https://discuss.elastic.co/t/configure-apm-for-java-based-application/251723 "2020-10-12T07:04:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [October 12, 2020, 7:55am UTC](https://discuss.elastic.co/t/configure-apm-for-java-based-application/251723/2 "2020-10-12T07:55:10Z")

</div>

Take a look at [this post](https://discuss.elastic.co/t/monitoring-undertow-using-elastic-apm-java-agent-is-not-giving-any-transaction-data/242455/13) which provides a general explanation on how OpenTracing integration works.  
Then you will need to adjust to your specific use case - see which OpenTracing library needs to be attached (in addition to the OP API) and learn how it requires you to setup a Tracer.

---

_[View the full topic](https://discuss.elastic.co/t/configure-apm-for-java-based-application/251723)._
