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

**URL:** <https://discuss.elastic.co/t/spring-web-mvc-6-x-transaction-names-always-named-as-dispatcherservlet-doget/328436>\
**Category:** APM\
**Tags:** java\
**Created:** [March 24, 2023, 8:22am UTC](https://discuss.elastic.co/t/spring-web-mvc-6-x-transaction-names-always-named-as-dispatcherservlet-doget/328436 "2023-03-24T08:22:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickWe](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@NickWe](https://discuss.elastic.co/u/NickWe)\
**Post date:** [March 24, 2023, 8:22am UTC](https://discuss.elastic.co/t/spring-web-mvc-6-x-transaction-names-always-named-as-dispatcherservlet-doget/328436/1 "2023-03-24T08:22:19Z")

</div>

**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

---

<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:** [March 24, 2023, 8:34am UTC](https://discuss.elastic.co/t/spring-web-mvc-6-x-transaction-names-always-named-as-dispatcherservlet-doget/328436/2 "2023-03-24T08:34:42Z")

</div>

You are correct, this is because we don't support spring 6 yet. We are actively working on it, you can follow [this issue](https://github.com/elastic/apm-agent-java/issues/2942) to track the progress.

---

<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:** [April 14, 2023, 4:35am UTC](https://discuss.elastic.co/t/spring-web-mvc-6-x-transaction-names-always-named-as-dispatcherservlet-doget/328436/3 "2023-04-14T04:35:39Z")

</div>

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