# Incomplete transaction traces from Java APM

**URL:** <https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881>\
**Category:** APM\
**Tags:** java\
**Created:** [July 30, 2019, 11:15am UTC](https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881 "2019-07-30T11:15:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev\_elk](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dev\_elk](https://discuss.elastic.co/u/dev_elk)\
**Post date:** [July 30, 2019, 11:15am UTC](https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881/1 "2019-07-30T11:15:38Z")

</div>

**Kibana version** : 7.2.0

**Elasticsearch version** : 7.2.0

**APM Server version** : 7.2.0

**APM Agent language and version** : Java

**Browser version** :

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

**Fresh install or upgraded from other version?** : Fresh install

**Description of the problem** : Java APM agent has been installed in the application servers with below specification -  
OS: SUSE Linux Enterprise Server 12 SP1  
Application server: Tomcat  
Java version: java version "1.8.0\_202"  
Java(TM) SE Runtime Environment (build 8.1.051)  
SAP Java Server VM (build 8.1.051 10.0.2+000  
Transaction traces are not coming from the parent level. Only downstream SQL statements are visible, but none of the upstream connections are visible in the traces. No custom instrumentation/trace\_methods/public API are being used currently.  
Need help to understand why complete data is not captured by the APM.

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [July 30, 2019, 11:30am UTC](https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881/2 "2019-07-30T11:30:28Z")

</div>

Hi 🙂

See [https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-networking-frameworks](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-networking-frameworks) for what is currently supported out of the box.

Which connections are missing?

---

<div class="post-metadata">

**Author:** ![dev\_elk](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dev\_elk](https://discuss.elastic.co/u/dev_elk)\
**Post date:** [July 31, 2019, 10:35am UTC](https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881/3 "2019-07-31T10:35:49Z")

</div>

Hi,

We have installed in multiple application server types, all based on java.

UI servers - customer access this via browsers (Chrome, IE etc.)  
API servers - customers access api urls via http clients. This can be either any integration connectors (boomi etc.) or via custom clients based on apache, ruby etc. We don't have a list as this is customer owned clients.  
Job servers - customer access this via UI servers.

We are able to see only high level transactions and then sql queries related to them, but not able to view all transaction types.

We tried configuring "trace\_methods", but didn't work. Could you please provide a sample configuration for "trace\_methods".

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [July 31, 2019, 1:35pm UTC](https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881/4 "2019-07-31T13:35:19Z")

</div>

> [@dev\_elk](#):
>
> but not able to view all transaction types.

Could you elaborate on what you'd expect to see but is missing?

> [@dev\_elk](#):
>
> Could you please provide a sample configuration for "trace\_methods".

The documentation contains several examples: [Core configuration options | APM Java Agent Reference [1.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#config-trace-methods). What was the value you tried? What is the root package of your Java application?

I'm still not exactly sure which connections are missing. Is it from UI servers to Job servers or API servers to Job servers?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 21, 2019, 9:35am UTC](https://discuss.elastic.co/t/incomplete-transaction-traces-from-java-apm/192881/5 "2019-08-21T09:35:28Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
