# No transaction data sent to APM Server

**URL:** <https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779>\
**Category:** APM\
**Tags:** java\
**Created:** [March 10, 2021, 8:28am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779 "2021-03-10T08:28:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 10, 2021, 8:28am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/1 "2021-03-10T08:28:38Z")

</div>

**Kibana version** :  
7.11.1

**Elasticsearch version** :  
7.11.1

**APM Server version** :  
{  
"build\_date": "2021-02-15T12:37:48Z",  
"build\_sha": "e77061bb3aaedae5ae8dd0ca193eb662513aedde",  
"version": "7.11.0"  
}

**APM Agent language and version** :

**Browser version** :  
Chrome

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

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

**Is there anything special in your setup?**  
No

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
I am running the [Running as a Standalone Process - WireMock](http://wiremock.org/docs/running-standalone/) java application. I would like to see transactions information in Kibana APM dashboard.

Actual behavior:  
Only metrics are sent to APM server

Expected behavior:  
Metrics and transaction information to be sent to APM server.

**Steps to reproduce** :

1. Download wiremock

2. Run Application  
java -javaagent:elastic-apm-agent-1.21.0.jar -Delastic.apm.log\_level=TRACE -Delastic.apm.log\_file=_AGENT\_HOME_/logs/elastic-apm.log -Delastic.apm.service\_name=my-wire-mock -Delastic.apm.server\_url=http://10.3.103.95:8200 -jar wiremock-jre8-standalone-2.27.2.jar

3. Check Kibana APM transaction information  
Only JVM metrics can be seen in Kibana APM, no transactions.  
When starting the agent there are a lot of Java Null Pointer Exception

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

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

---

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 10, 2021, 8:31am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/2 "2021-03-10T08:31:38Z")

</div>

Didn't find a way to upload the APM agent logs, I believe it would be useful for this issue.

---

<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:** [March 10, 2021, 10:14am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/3 "2021-03-10T10:14:53Z")

</div>

Hi and welcome to the forum!

I am not sure this wiremock setup relies on `Servlet`s. If it is not, this may explain why we don't capture anything.  
Try setting [`log_level`](https://www.elastic.co/guide/en/apm/agent/java/current/config-logging.html#config-log-level) to `debug` and see in the agent log which instrumentations were applied. Log messages containing `Method match for instrumentation...` will tell you that. Then go through the rest of the log, it would tell you if there are errors, when a transaction/span is started/ended and so forth.  
Sorry that I cannot assist much further. We first need to know which of the [supported technologies](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html) are relevant and only then we may realize if there is a problem.

---

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 10, 2021, 10:26am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/4 "2021-03-10T10:26:36Z")

</div>

Thanks @Eyal_Koren . Is there a way to upload the agent log here in this thread? I have it with TRACE level enabled.

---

<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:** [March 10, 2021, 10:29am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/5 "2021-03-10T10:29:47Z")

</div>

You can use [https://gist.github.com](https://gist.github.com).  
However, before I start digging into huge trace-level logs, I'd ask you to find out which of the supported technologies are expected to be captured when using your application, and to look into the logs yourself, trying to provide some more accurate info.

---

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 10, 2021, 10:37am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/6 "2021-03-10T10:37:52Z")

</div>

I have uploaded the file: [APM Agent log file · GitHub](https://gist.github.com/georgepopovici/008796f947ab6b4593f34451ac4c1e6e)

Well, regarding supported technologies, I am new to it and I am unsure what I want. The goal is to have some transaction into Kibana APM Dashboard. The wiremock app allows doing some gets for specific URLs which returns a custom output. For example:  
ubuntu@app-vm:~/mappings$ cat mytest.json  
{  
"request": {  
"method": "GET",  
"url": "/api/mytest"  
},  
"response": {  
"status": 200,  
"body": "More content\n"  
}  
}

I would expect this transaction (the http get I am doing via browser) to show in Kibana APM.

Appreciate your input!

Best,  
George

---

<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:** [March 10, 2021, 10:57am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/7 "2021-03-10T10:57:08Z")

</div>

Well, your log suggests that this wiremock setup doesn't rely on Servlets. The agent doesn't instrument anything that can create transactions, which is why you don't see them.

---

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 10, 2021, 11:21am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/8 "2021-03-10T11:21:09Z")

</div>

Thanks @Eyal_Koren .

For my knowledge, could you paste here the line(s) that are indicating that wiremock does not rely on Servlets?

Thanks again,  
George

---

<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:** [March 10, 2021, 1:21pm UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/9 "2021-03-10T13:21:03Z")

</div>

It's not the presence of such lines, it's the absence of `Method match for instrumentation...` lines for Servlet-related instrumentations 🙂

---

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 10, 2021, 1:54pm UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/10 "2021-03-10T13:54:25Z")

</div>

Thanks for the help @Eyal_Koren . All the best!

George

---

<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:** [March 10, 2021, 3:40pm UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/11 "2021-03-10T15:40:39Z")

</div>

Sounds like a good bye, I meant that you try another app instead, don't give up 😄

---

<div class="post-metadata">

**Author:** ![georgepopovici](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgepopovici/32/85291_2.png) [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Post date:** [March 11, 2021, 7:34am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/12 "2021-03-11T07:34:01Z")

</div>

Yea, I need to find another Java app to test the agent. Looking for a simple one, a Flask like app.

Thanks,  
G

---

<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:** [April 1, 2021, 3:34am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779/13 "2021-04-01T03:34:47Z")

</div>

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