17 Sep 2015 06:12 PM - last edited on 04 Sep 2023 10:18 AM by MaciejNeumann
OneAgent auto-injects into all the web applications that are being rendered by the server on which the agent is installed. In the case where you have multiple environments running off the same web server and would like to monitor the performance of some domains and not all, it is just a simple switch flip which will override the default behavior of the OneAgent and not inject into the domain of your choice.
Solved! Go to Solution.
11 Dec 2019 07:53 PM
We have multiple ways of achieving this in Dynatrace:
2. Dynatrace can also inject into certain pages based on the URL. This can be done by going to the Application in which you want to make the injection changes. Click on the Edit button located on the header. Navigate to Advanced Setup and add a rule for JavaScript Injection as shown:
Once the setting is made, you can be assured that the OneAgent will not auto-inject into the specified domain and also not provide any real user monitoring metrics for the same.
Safia