Agent Java and hole in timing

I've a Spring Boot REST application. I installed and configured the Java monitor to track performance of my application.
I read documentation and I set values suitable for my case. I'm still in dev environment to do some tests.


As you see in this image, in this REST call, the total time is not the sum of all items shown in the list.
There are "white holes" betweens blue boxes. How can I understand what's that time?

Do you have any suggestion to investigate more? I tried to annotate my method with @Traced but it didn't do anything more.

Thanks

Kibana version: 7.6.2

Elasticsearch version: 7.6.2

APM Server version: 7.6.2

APM Agent language and version: Java

Hi @Daniele_Renda,

Today might be your lucky day, because we recently added a feature in Java agent that just does what you need :-).

Using a sampling profiler that has very low overhead, we can infer which spans are being executed, without the need for any instrumentation.

Everything is explained in details in this blogpost, thus all you need is updating to the latest version of the agent.

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