Spring controller hiden behind DispatcherServlet#do*

Kibana version:
7.16.3

I got exctly the same issue as Remove spring DispatcherServlet from transactions - #18 by ethranes

See screenshot
image

I'm using Spring Boot 3.0.x with agent elastic-apm-agent-1.36.0.jar

I tried given solution that seems to be adding following parameter to my agent

ELASTIC_APM_DISABLE_INSTRUMENTATIONS=servlet-api

but I still have same behaviour. Any additional recommandation on this ?

Spring Boot 3 support has been added in APM Agent version 1.38.0, so it is not supported by the version you are using.

Please upgrade to the latest agent version, this should fix your issue.

Make sens. I try that thanks

Also a good alternative I found in your documentation this morning:

ELASTIC_APM_USE_PATH_AS_TRANSACTION_NAME=true

in association with

ELASTIC_APM_TRANSACTION_NAME_GROUPS=true

Make the job showing the API endpoints (not the Spring controller)

Alternative doesn't group all element correctly

Update to 1.43 solved the issue

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