# APM showing Excessive negative average reponse time

**URL:** <https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517>\
**Category:** APM\
**Tags:** java\
**Created:** [May 10, 2019, 8:24am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517 "2019-05-10T08:24:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav9620](https://avatars.discourse-cdn.com/v4/letter/g/d78d45/32.png) [@gaurav9620](https://discuss.elastic.co/u/gaurav9620)\
**Post date:** [May 10, 2019, 8:24am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517/1 "2019-05-10T08:24:53Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

**Kibana version** : 6.2.3

**Elasticsearch version** : 6.2.3

**APM Server version** :6.2.3

**APM Agent language and version** : JAVA Agent and apm-java-version : 0.7

**Browser version** :google chrome

**Description of the problem including expected versus actual behaviour. Please include screenshots (if relevant)**:  
APM is showing very unusual behaviour .  
I am monitoring a part of my services by using transaction.  
Whenever few simultaneous requests are sent on the service and transaction is monitored in the service , the response time is shown in negative ( **-159023655802995 ms** ).  
Whenever this happens Elasticsearch also becomes very slow and stops responding for some time at the time APM dashboard is opened  
Below is a screenshot

 ![apm_problem_new_1](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8ac844ac22de5f4e4af06dc41b8b211d4007547.png) .  
Can anyone please help?

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

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

---

<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:** [May 10, 2019, 8:53am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517/2 "2019-05-10T08:53:45Z")

</div>

Hi and welcome to the forum 🙂

> [@gaurav9620](#):
>
> JAVA Agent and apm-java-version : 0.7

You are using a very old version of the Java agent. I'd suggest updating to the latest version.

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![gaurav9620](https://avatars.discourse-cdn.com/v4/letter/g/d78d45/32.png) [@gaurav9620](https://discuss.elastic.co/u/gaurav9620)\
**Post date:** [May 10, 2019, 8:59am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517/3 "2019-05-10T08:59:07Z")

</div>

Hi @felixbarny.  
Will the problem be solved after upgrading and is this a known bug.  
For upgrading the java agent , i will have to upgrade APM-server version and for that i have to upgrade whole ELK stack.  
Will the problem be surely solved after upgrading??

---

<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:** [May 10, 2019, 9:05am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517/4 "2019-05-10T09:05:07Z")

</div>

I'm pretty certain that this will fix the issue.

---

<div class="post-metadata">

**Author:** ![gaurav9620](https://avatars.discourse-cdn.com/v4/letter/g/d78d45/32.png) [@gaurav9620](https://discuss.elastic.co/u/gaurav9620)\
**Post date:** [May 14, 2019, 6:26am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517/5 "2019-05-14T06:26:08Z")

</div>

Thanks a lot @felixbarny . It worked 🙂

---

<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:** [June 4, 2019, 2:26am UTC](https://discuss.elastic.co/t/apm-showing-excessive-negative-average-reponse-time/180517/6 "2019-06-04T02:26:11Z")

</div>

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