# Elastic APM configuration for Webmethods

**URL:** <https://discuss.elastic.co/t/elastic-apm-configuration-for-webmethods/370115>\
**Category:** APM\
**Tags:** elastic-stack-monitoring, java\
**Created:** [November 6, 2024, 10:20am UTC](https://discuss.elastic.co/t/elastic-apm-configuration-for-webmethods/370115 "2024-11-06T10:20:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranugonda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranugonda/32/138994_2.png) [@ranugonda](https://discuss.elastic.co/u/ranugonda)\
**Post date:** [November 6, 2024, 10:20am UTC](https://discuss.elastic.co/t/elastic-apm-configuration-for-webmethods/370115/1 "2024-11-06T10:20:28Z")

</div>

Hi all,

This is my first post. I am trying to get webmethods IS server monitoring via Elastic APM agent. I get all the internal services of Webmethods into APM but not able to see the custom jobs I create. I would like to check if someone has done this before and share some best practices in this regards.

Config used

```auto
wrapper.java.additional.401=-javaagent:D:\Webmethods\IntegrationServer\lib\jars\custom\elastic-apm-agent-1.52.0.jar
wrapper.java.additional.402=-Delastic.apm.service_name=IS_DEFAULT
wrapper.java.additional.403=-Delastic.apm.server_url=<APM url>
wrapper.java.additional.404=-Delastic.apm.secret_token=<......>
wrapper.java.additional.405=-Delastic.apm.application_packages=com.wm.app.b2b.server,com.wm.lang.flow,Messaging.durableSubscriber
wrapper.java.additional.406=-Delastic.apm.hostname=<hostname>
wrapper.java.additional.407=-Delastic.apm.verify_server_cert=false
wrapper.java.additional.408=-Delastic.apm.trace_methods=com.wm.app.b2b.server.*,test.*,Messaging.durableSubscriber.*

```

**Kibana version** : 8.15

**Elasticsearch version** : 8.15

**APM Server version** : 8.15

**APM Agent language and version** : 1.52 - Java agent

**Browser version** : Edge, Chrome

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: download page

**Fresh install or upgraded from other version?** Fresh cloud deployment

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

**Steps to reproduce** :  
1.  
2.  
3.

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [November 6, 2024, 3:35pm UTC](https://discuss.elastic.co/t/elastic-apm-configuration-for-webmethods/370115/2 "2024-11-06T15:35:02Z")

</div>

If the custom jobs are created programmatically, you can use an [annotation](https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html#api-annotation) like @CaptureTransaction to trace those. If not, you'll need to find the job initiating class and add it to your trace\_methods

---

<div class="post-metadata">

**Author:** ![ranugonda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranugonda/32/138994_2.png) [@ranugonda](https://discuss.elastic.co/u/ranugonda)\
**Post date:** [November 11, 2024, 1:14pm UTC](https://discuss.elastic.co/t/elastic-apm-configuration-for-webmethods/370115/3 "2024-11-11T13:14:04Z")

</div>

Thanks for the suggestion. The services are already built and are in Production. I was doing some checks on other available solutions for webmethods - AppDynamics and OTelscope. Both solutions have some packages that need to be deployed onto the Integration server of Webmethods post which the metrics are collected at each service instance level. I have not found much information around Webmethods using Elastic APM.

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [November 11, 2024, 6:16pm UTC](https://discuss.elastic.co/t/elastic-apm-configuration-for-webmethods/370115/4 "2024-11-11T18:16:12Z")

</div>

Then the only option I can suggest is to extend your usage of trace\_methods to add in the same methods that you would annotate - it's the same effect, starting a transaction from that method
