# Elastic apm - black holes in transactions

**URL:** <https://discuss.elastic.co/t/elastic-apm-black-holes-in-transactions/362121>\
**Category:** APM\
**Tags:** java\
**Created:** [June 26, 2024, 8:58pm UTC](https://discuss.elastic.co/t/elastic-apm-black-holes-in-transactions/362121 "2024-06-26T20:58:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcin\_pyby](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_pyby/32/135611_2.png) [@Marcin\_pyby](https://discuss.elastic.co/u/Marcin_pyby)\
**Post date:** [June 26, 2024, 8:58pm UTC](https://discuss.elastic.co/t/elastic-apm-black-holes-in-transactions/362121/1 "2024-06-26T20:58:57Z")

</div>

**Kibana version** :  
8.14  
**Elasticsearch version** :  
8.14  
**APM Server version** :  
8.14  
**APM Agent language and version** :  
1.50

Hi,  
We try to debug slow response in java app using elastic APM.  
We got something like a black holes, about 7 secs when nothing is reported and we don't know why this high latency came in.

 ![obraz](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e809048fd66876448a31b62b2007281b87858812.jpeg)

Any ideas what happened between SELECT FROM dbo.PROCESS\_INSTANCES and UPDATE SPRING\_SESSION ?

---

<div class="post-metadata">

**Author:** ![Jonas\_Kunz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonas_kunz/32/110740_2.png) [@Jonas\_Kunz](https://discuss.elastic.co/u/Jonas_Kunz)\
**Post date:** [June 27, 2024, 7:30am UTC](https://discuss.elastic.co/t/elastic-apm-black-holes-in-transactions/362121/2 "2024-06-27T07:30:44Z")

</div>

Your transaction likely spends its time in code that is not covered by our [supported instrumentations](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html). You can use the [inferred spans feature](https://www.elastic.co/guide/en/apm/agent/java/current/config-profiling.html#config-profiling-inferred-spans-enabled) to use profiling to uncover which code causes this latency.
