30 Aug 2018 03:27 AM
Hi community member,
Asking this question 'cause there is no good and safe place to let me try this out.
If previously a monitoring with code-level already enabled, and then I disabled it. After that when I enabled it back, would I still get back the code-level visibility? or restarts are required? Or it depends on how long the monitoring is disabled?
Solved! Go to Solution.
30 Aug 2018 04:54 PM
Any time you're remove or adding code level monitoring a restart is required for that change to fully go into affect. After disabling monitoring you might immediately stop seeing code level data in Dynatrace but in order for the actual instrumentation to be removed from the code a restart is required.
James
02 Sep 2018 07:46 AM
James,
So is my understanding correct?
04 Sep 2018 05:52 PM
The top looks right. Would have to try the bottom to know for sure - I expect the instrumentation is still at the code level but don't know if for instance we don't display it again until the app is restarted. I don't see any reason why we would do that but have never tried it so can't say for sure.
25 Jan 2019 10:37 AM
It has been a while, does any community member or dynatrace staff happens to come across this or try this by chance?
08 May 2019 07:25 PM
If you are speaking of turning on/off the "Monitor this host" option in Host Setting. it does not require a restart of the application, as OneAgent is running. It is just not having its statistics gathered at the Dynatrace Server. I have done this several times, and as long as you don't actually Stop the agent, it causes not issues