Spring Web MVC 6.x transaction names always named as DispatcherServlet#doGet

Kibana version:
8.5.3
Elasticsearch version:
8.5.3
APM Server version:
8.5.3
APM Agent language and version:
1.36.0 Java

I noticed that the Elastic APM Java agent is not detecting Spring RestController names in Spring boot 3. All the HTTP transactions are marked as DispatcherServlet#doGet instead of ControllerName#MethodName.

Or is this because Spring Web MVC 6.x (used by Spring boot 3) is not supported yet. If so is there an expected release date? For now I can override my transaction names with the agent java API.

Steps to reproduce:

  1. Start sample Spring boot RestApplication with 1 rest controller with a GetMapping with APM agent attached
  2. Observe transaction name in the APM UI is always DispatcherServlet#doGet

You are correct, this is because we don't support spring 6 yet. We are actively working on it, you can follow this issue to track the progress.

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