# Remove spring DispatcherServlet from transactions

**URL:** <https://discuss.elastic.co/t/remove-spring-dispatcherservlet-from-transactions/187147>\
**Category:** APM\
**Tags:** java\
**Created:** [June 24, 2019, 1:51pm UTC](https://discuss.elastic.co/t/remove-spring-dispatcherservlet-from-transactions/187147 "2019-06-24T13:51:13Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![ethranes](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@ethranes](https://discuss.elastic.co/u/ethranes)\
**Post date:** [July 9, 2019, 2:33pm UTC](https://discuss.elastic.co/t/remove-spring-dispatcherservlet-from-transactions/187147/18 "2019-07-09T14:33:25Z")

</div>

Just for closure on this, I was able to get a resolution to my issue. I had been trying to use the following flag for disabling instrumentation;

disable\_instrumentations=dispatcher-servlet

as it seemed the most relevent

However after playing with different combinations of properties for a while, I was able to unmask my methods from the dispatcher servlet by using this property instead;

disable\_instrumentations=servlet-api

Unsure of the differences between them, but am happy that I'm able to move on to other elastic setup after spending a while on this.

Thanks for all your help.

---

_[View the full topic](https://discuss.elastic.co/t/remove-spring-dispatcherservlet-from-transactions/187147)._
