Does network zone change require a code module restart?

When changing network zones, will code modules get the new configuration on the fly, or is a restart required for the monitored applications?

The Documentation for Network Zones states: Restart OneAgent monitored applications, so that they pick up the new instrumentation.

The Documentation for Remote Configuration Management states: Restarting the injected processes isn’t necessary when changing the network zone assignment.

I was under the impression that it was just the Oneagent that needed to be recycled since it contains the data for the communication routes with network Zones. Id love some clarity from Dynatrace.

The code modules connect directly to the ag/cluster though, not to the OneAgent first.

You will need a OneAgent restart when changing network zones

You don’t need to do any process restart but you will need to restart OneAgent service for changes to take effect.  Generally speaking, it shouldn’t be necessary to restart application after starting OneAgent service.

That is the same documentation I linked above, the second documentation link says something else though, thus the questions :wink:

Hi,

Yes, please see my below comment

Thanks

Regarding HostGroup it is apply - from a GUI point of view - to host and process without an application restart. But in documentation it is clearly mentioned that OA service AND all the monitored services restart is needed (OneAgent configuration via command-line interface — Dynatrace Docs).

Maybe Dynatrace team could clarify documentation and this GUI Remote Configuration Management message (same for HostGroup and Network Zone) and explain why an application restart could be needed :

From my experience, the restart is required to load the new settings:
- hostgroups: this changes processgroup and serviceids -- as long as the process is not restarted, context for observability metrics will not be aligned with the new topology.
- networkZones (fullstack):  codemodules operate independently from the OneAgent OS monitoring process. As long as the new networkzone config isn’t reloaded, the code module might send out its signals along a sub-optimal path.