# ​Is it needed to restart the target application when we stop the monitoring of OneAgent?

**URL:** <https://community.dynatrace.com/t/is-it-needed-to-restart-the-target-application-when-we-stop-the-monitoring-of-oneagent/13288>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [July 2, 2018, 11:21am UTC](https://community.dynatrace.com/t/is-it-needed-to-restart-the-target-application-when-we-stop-the-monitoring-of-oneagent/13288 "2018-07-02T11:21:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkobayashi1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nkobayashi1/32/5187_2.png) [@nkobayashi1](https://community.dynatrace.com/u/nkobayashi1)\
**Post date:** [July 2, 2018, 11:21am UTC](https://community.dynatrace.com/t/is-it-needed-to-restart-the-target-application-when-we-stop-the-monitoring-of-oneagent/13288/1 "2018-07-02T11:21:46Z")

</div>

Hi,

Could you tell us whether it is needed to restart the target application when we will stop all of the monitoring that OneAgent does?

We guess it is needed because of ejecting the injected sensor from the application.

Best Regards,

Noah Kobayashi

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 2, 2018, 11:33am UTC](https://community.dynatrace.com/t/is-it-needed-to-restart-the-target-application-when-we-stop-the-monitoring-of-oneagent/13288/2 "2018-07-02T11:33:36Z")

</div>

Correct. You need to restart the process to get the injection removed.

---

<div class="post-metadata">

**Author:** ![nkobayashi1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nkobayashi1/32/5187_2.png) [@nkobayashi1](https://community.dynatrace.com/u/nkobayashi1)\
**Post date:** [July 2, 2018, 11:45am UTC](https://community.dynatrace.com/t/is-it-needed-to-restart-the-target-application-when-we-stop-the-monitoring-of-oneagent/13288/3 "2018-07-02T11:45:26Z")

</div>

Thank you for the quick response.
